Lock battery assembly and lock

CN224759536UActive Publication Date: 2026-09-15HANGZHOU HUACHENG SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522260118.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-10-23
Publication Date
2026-09-15
Estimated Expiration
2035-10-23

AI Technical Summary

Benefits of technology

[0014] By applying the technical solution of this utility model, when the battery cover is placed on the battery compartment, it is positioned along the movement path of the switch component, thereby locking the position of the switch component and, consequently, the position of the battery within the battery compartment. This improves the stability of the lock's battery assembly structure, making the connection between the lock's battery assembly and the battery more stable and reliable. Specifically, when the switch component is in the locked position, the battery is locked within the battery compartment, thus fixing its position. The battery cover, placed on the battery compartment, further secures the switch component in the locked position, further securing the battery's position. When the battery needs to be removed, the battery cover is opened, and the switch component is switched to the unlocked position. This not only improves the reliability of the connection between the battery and the lock's battery assembly but also increases operational convenience and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224759536U_ABST
    Figure CN224759536U_ABST
Patent Text Reader

Abstract

The utility model provides a kind of lock battery assembly and lock, wherein, lock battery assembly includes battery compartment, battery cover and switch piece, battery compartment has the installation cavity for placing battery;Battery cover is cover and is set on battery compartment with open and close;Switch piece is movably connected with battery compartment, and has the locking position of locking battery and the unlocking position of avoiding battery dismounting path, when battery cover cover is set in battery compartment, battery cover is located in the movable path of switch piece and hinders switch piece movement, so that switch piece is kept in locking position.The utility model solves the problem that the connection reliability between the battery mounting structure of lock in prior art and battery is poor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of lock technology, and more specifically, to a lock battery assembly and a lock. Background Technology

[0002] The battery removal and installation structures of existing locks on the market are relatively cumbersome, which can easily increase the user's operation time. In addition, the number of parts is large, which greatly increases the production and assembly costs. More importantly, when the door is suddenly subjected to a strong impact or shaking, the limiting structure of some smart lock batteries does not provide sufficient protection, and there is a risk of poor contact between the battery contacts and the circuit board. Utility Model Content

[0003] The main objective of this invention is to provide a lock battery assembly and a lock to solve the problem of poor reliability in the connection between the battery mounting structure and the battery in existing locks.

[0004] To achieve the above objectives, according to one aspect of the present invention, a lock battery assembly is provided, including a battery compartment, a battery cover, and a switch. The battery compartment has a mounting cavity for placing a battery. The battery cover is closable on the battery compartment. The switch is movably connected to the battery compartment and has a locking position for locking the battery and an unlocking position for avoiding the battery removal path. When the battery cover is on the battery compartment, the battery cover is located on the movement path of the switch and obstructs the movement of the switch, so that the switch is held in the locked position.

[0005] Optionally, the switch has a first limiting part and a second limiting part on opposite sides, the first limiting part facing the mounting cavity and the second limiting part away from the mounting cavity. The first limiting part is used to lock and engage with the battery, and the second limiting part is used to abut and limit the engagement with the inner wall surface of the battery cover.

[0006] Optionally, the switch is rotatably connected to the battery compartment. When the switch rotates relative to the battery compartment, it can switch between a locked position and an unlocked position. The first limiting part and the second limiting part are located on both sides of the rotation axis of the switch.

[0007] Optionally, the first limiting part is a protrusion that mates with a groove on the battery. When the switch is in the locked position, the protrusion is located in the groove to lock the battery in the mounting cavity; or, the first limiting part is a groove that mates with a protrusion on the battery. When the switch is in the locked position, the protrusion is located in the groove to lock the battery in the mounting cavity.

[0008] Optionally, the side of the switch member facing the mounting cavity also has a clearance slope. The clearance slope and the first limiting part are located on both sides of the rotation axis of the switch member, and the clearance slope is inclined in a direction away from the rotation center of the switch member.

[0009] Optionally, the lock battery assembly further includes a first elastic member, the two ends of which abut against the battery compartment and the switch member respectively, and provide the switch member with an elastic force to move toward the locked position.

[0010] Optionally, the battery compartment includes a second elastic member located within the mounting cavity and engaging with a battery mounted within the mounting cavity. The second elastic member provides a spring force for the battery to exit the battery compartment.

[0011] Optionally, the battery cover also includes a snap-fit ​​structure, the battery compartment also includes a snap-fit ​​part, the mounting cavity includes a first side and a second side opposite to each other, the switch is disposed on the first side, and the snap-fit ​​structure and the snap-fit ​​part are both located on the second side, and the battery cover and the battery compartment are snapped together by the snap-fit ​​structure and the snap-fit ​​part.

[0012] According to another aspect of the present invention, a lock is provided, including the lock battery assembly described above.

[0013] Optionally, the lock also includes a battery with a foolproof structure offset from the battery's geometric axis. The battery compartment also includes a foolproof component located on the side wall of the mounting cavity and mating with the battery's foolproof structure.

[0014] By applying the technical solution of this utility model, when the battery cover is placed on the battery compartment, it is positioned along the movement path of the switch component, thereby locking the position of the switch component and, consequently, the position of the battery within the battery compartment. This improves the stability of the lock's battery assembly structure, making the connection between the lock's battery assembly and the battery more stable and reliable. Specifically, when the switch component is in the locked position, the battery is locked within the battery compartment, thus fixing its position. The battery cover, placed on the battery compartment, further secures the switch component in the locked position, further securing the battery's position. When the battery needs to be removed, the battery cover is opened, and the switch component is switched to the unlocked position. This not only improves the reliability of the connection between the battery and the lock's battery assembly but also increases operational convenience and enhances the user experience. Attached Figure Description

[0015] The accompanying drawings, which form part of this application, are used to provide a further understanding of the present invention. The illustrative embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an undue limitation of the present invention. In the drawings:

[0016] Figure 1 A schematic diagram of the lock battery assembly and battery of this utility model is shown;

[0017] Figure 2 A cross-sectional view of the lock battery assembly and battery of this utility model is shown;

[0018] Figure 3 This diagram shows the structure of the present invention when the battery is removed from the lock battery assembly;

[0019] Figure 4 A schematic diagram of the battery structure of this utility model is shown;

[0020] Figure 5 A schematic diagram of the battery compartment and switch of this utility model is shown.

[0021] The above figures include the following reference numerals:

[0022] 10. Battery compartment; 11. Second elastic element; 12. Snap-fit ​​part; 13. Foolproof element; 20. Battery cover; 21. Snap-fit ​​structure; 30. Switch; 31. First limiting part; 32. Second limiting part; 33. Clearance slope; 40. First elastic element; 50. Battery; 51. Foolproof structure; 60. Screw. Detailed Implementation

[0023] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The present invention will now be described in detail with reference to the accompanying drawings and embodiments.

[0024] It should be noted that, unless otherwise specified, all technical and scientific terms used in this application have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains.

[0025] In this utility model, unless otherwise stated, directional terms such as "upper," "lower," "top," and "bottom" are generally used in relation to the direction shown in the accompanying drawings, or in relation to the vertical, perpendicular, or gravitational direction of the component itself; similarly, for ease of understanding and description, "inner" and "outer" refer to the inner and outer contours of each component itself, but the above directional terms are not used to limit this utility model.

[0026] To address the problem of poor connection reliability between the battery mounting structure and the battery in existing locks, this invention provides a lock battery assembly and a lock.

[0027] like Figures 1 to 5 The lock battery assembly shown includes a battery compartment 10, a battery cover 20, and a switch 30. The battery compartment 10 has a mounting cavity for placing a battery 50. The battery cover 20 is closable on the battery compartment 10. The switch 30 is movably connected to the battery compartment 10 and has a locked position for locking the battery 50 and an unlocked position for avoiding the removal path of the battery 50. When the battery cover 20 is on the battery compartment 10, the battery cover 20 is located in the movement path of the switch 30 and hinders the movement of the switch 30, so that the switch 30 is kept in the locked position.

[0028] In this embodiment, the battery cover 20, when placed on the battery compartment 10, is positioned along the movement path of the switch 30, thereby locking the position of the switch 30 and consequently locking the position of the battery 50 within the battery compartment 10. This improves the stability of the lock battery assembly structure, making the connection between the lock battery assembly and the battery 50 more stable and reliable. Specifically, when the switch 30 is in the locked position, the battery 50 is locked within the battery compartment 10, thus fixing its position. The battery cover 20, placed on the battery compartment 10, further secures the switch 30 in the locked position, further fixing the battery 50's position. When the battery 50 needs to be removed, the battery cover 20 is opened, and the switch 30 is switched to the unlocked position. This not only improves the reliability of the connection between the battery 50 and the lock battery assembly but also increases operational convenience and enhances the user experience.

[0029] In some embodiments, such as Figure 1 As shown, the switch 30 is disposed on one side edge of the battery compartment 10 and located at the entrance of the mounting cavity. The switch 30 has a first limiting part 31 and a second limiting part 32 on opposite sides. The first limiting part 31 faces the mounting cavity, and the second limiting part 32 is away from the mounting cavity. The first limiting part 31 is used to lock and cooperate with the battery 50, and the second limiting part 32 is used to abut and limit the inner wall surface of the battery cover 20. This achieves the locking of the switch 30 with the battery 50 and the locking of the switch 30 with the battery cover 20, thereby improving the reliability of the cooperation between the battery 50 and the battery compartment 10. In this embodiment, the second limiting part 32 engages with the battery cover 20 by setting the surface of the switch 30 away from the mounting cavity to be a plane parallel to the inner wall of the battery cover 20. As the second limiting part 32, when the battery cover 20 is placed on the battery compartment 10, the second limiting part 32 is located between the first limiting part 31 and the inner wall of the battery cover 20. The inner wall of the battery cover 20 abuts against the second limiting part 32, preventing the second limiting part 32 from moving away from the mounting cavity. This prevents the switch 30 from rotating, thus locking the position of the battery 50 within the battery compartment 10 and better ensuring the safety of the connection between the battery 50 and the circuit board. The locking engagement between the first limiting part 31 and the battery 50 can be achieved through a structure of protrusions and grooves.

[0030] In some embodiments, the switch 30 is rotatably connected to the battery compartment 10. When the switch 30 rotates relative to the battery compartment 10, it can switch between a locked position and an unlocked position. The first limiting part 31 and the second limiting part 32 are located on both sides of the rotation axis of the switch 30, thereby locking and unlocking the battery 50 in the mounting cavity by rotating the switch 30 relative to the battery compartment 10. Specifically, as Figure 2 , Figure 3As shown, in this embodiment, the switch 30 has a rotating shaft on the side facing the battery compartment 10, and the battery compartment 10 has a rotating shaft hole on the side facing the switch 30. The rotating shaft is located in the rotating shaft hole, allowing the switch 30 to rotate relative to the battery compartment 10. This allows the first limiting part 31 to extend into or exit the mounting cavity when the switch 30 rotates, thereby locking and unlocking the battery 50 within the battery compartment 10. Of course, the connection method between the switch 30 and the battery compartment 10 is not limited to this. Other connection methods can also be used, as long as the switch 30 can switch between the locked and unlocked positions. For example, the switch 30 can also be slidably connected to the battery compartment 10. When the battery 50 is placed in the battery compartment 10, the switch 30 is pushed closer to the mounting cavity to limit the battery 50. When it is necessary to remove the battery 50, the switch 30 is pulled away from the mounting cavity to avoid the path of the battery 50 leaving the mounting cavity, thereby avoiding the battery 50. In this way, the battery 50 can also be reliably fixed and easily disassembled.

[0031] Optionally, the rotating shaft of the switch 30 can be fixed to the rotating shaft hole of the battery compartment 10 by using a screw 60. The screw 60 is set along the axial direction of the rotating shaft and is located at the axis of the rotating shaft, so that the rotation center of the switch 30 is located at the axis of the screw 60 when the switch 30 rotates.

[0032] In some embodiments, the first limiting portion 31 is a protrusion that engages with a groove on the battery 50. When the switch 30 is in the locked position, the protrusion is located within the groove to lock the battery 50 in the mounting cavity; or, the first limiting portion 31 is a groove that engages with a protrusion on the battery 50. When the switch 30 is in the locked position, the protrusion is located within the groove to lock the battery 50 in the mounting cavity. Thus, when the battery 50 is located in the battery compartment 10, the protrusion extends into the groove, thereby locking the battery 50. When the battery 50 needs to be removed, the switch 30 rotates, causing the protrusion to separate from the groove, thereby unlocking the battery 50. Specifically, as... Figure 4 As shown, the battery 50 in this embodiment has a groove extending in the horizontal direction, such as... Figure 2 As shown, the first limiting part 31 is configured as a protrusion, and the horizontal extension length of the groove is greater than the horizontal extension length of the first limiting part 31, so that when the switch 30 rotates, the protrusion rotates accordingly and can rotate out of the groove, thereby realizing the separation of the protrusion and the groove. Figure 2As shown, the first limiting part 31 in this embodiment includes a bent guide section and an extension section. Both the guide section and the extension section are located on the side of the switch member 30 facing the mounting cavity. The bottom of the guide section is farther away from the battery compartment 10 than the extension section. The surface of the guide section facing the mounting cavity is an inclined surface, and it is inclined from top to bottom towards the mounting cavity. The side of the extension section away from the guide section forms a right angle with the bottom of the switch member 30. In this way, when the battery 50 is located in the mounting cavity, the groove of the battery 50 abuts against the bottom of the first limiting part 31, and the first limiting part 31 limits the battery 50, preventing the battery 50 from coming out of the mounting cavity. When the switch member 30 is rotated to remove the battery 50 from the mounting cavity, the inclined surface of the guide section helps the switch member 30 to rotate smoothly, avoiding rotation jamming caused by the relative movement of the sharp corner of the first limiting part 31 and the battery 50. At the same time, it can effectively protect the safety of the battery 50 and prevent damage to the battery 50. Of course, depending on the actual situation, the first limiting part 31 and the battery 50 can also adopt other structural forms to effectively fix the battery 50. For example, when the surface of the battery 50 is not provided with a groove, the first limiting part 31 can still be set as a protrusion. When the battery 50 is located in the mounting cavity, the protrusion can abut against the surface of the battery 50.

[0033] In some embodiments, the side of the switch member 30 facing the mounting cavity also has a clearance slope 33. The clearance slope 33 and the first limiting part 31 are located on both sides of the rotation axis of the switch member 30 and are inclined in a direction away from the rotation center of the switch member 30. In this way, when the battery 50 is removed from the mounting cavity, the switch member 30 rotates, the first limiting part 31 moves in a direction away from the mounting cavity, and the clearance slope 33 moves accordingly in a direction closer to the mounting cavity, thereby unlocking the first limiting part 31 from the battery 50. Specifically, in this embodiment, the avoidance slope 33 is disposed on the side of the rotation center of the switch 30 away from the first limiting part 31. When the switch 30 is in the locked position, the avoidance slope 33 is farther away from the mounting cavity than the first limiting part 31. As the switch 30 rotates and the first limiting part 31 moves away from the mounting cavity, there is sufficient space between the avoidance slope 33 and the mounting cavity. This allows the avoidance slope 33 to move towards the mounting cavity as the switch 30 rotates, and avoids the path of the battery 50 leaving the mounting cavity, thereby unlocking the battery 50. Of course, other structural forms can be provided on the side of the switch 30 facing the mounting cavity to replace the avoidance slope 33. For example, an avoidance notch can be provided on the side of the switch 30 facing the mounting cavity. The avoidance notch is farther away from the mounting cavity than the first limiting part 31, and the avoidance notch and the first limiting part 31 are located on both sides of the rotation center of the switch 30. The avoidance notch connects to the end of the switch 30, so that when the switch 30 rotates and the first limiting part 31 moves away from the mounting cavity, the end with the avoidance notch approaches the mounting cavity. There is enough space between the avoidance notch and the mounting cavity to approach each other, so as to avoid interference between the switch 30 and the battery 50 removal path.

[0034] In some embodiments, the lock battery assembly further includes a first elastic member 40. The two ends of the first elastic member 40 abut against the battery compartment 10 and the switch member 30, respectively, and provide elastic force to the switch member 30 to move towards the locked position, thereby further improving the stability of the battery 50 within the mounting cavity. Specifically, the first elastic member 40 can be configured as a spring. In this embodiment, the battery compartment 10 near the battery cover 20 has a mounting hole for placing the first elastic member 40. The first elastic member 40 is located within the mounting hole, which is located on the same side as the first limiting part 31, near the rotation center of the switch member 30. The extension and retraction direction of the first elastic member 40 is perpendicular to the plane where the second limiting part 32 is located, that is, perpendicular to the inner wall surface of the mounting cavity near the switch member 30. This allows the first elastic member 40 to provide elastic force for the first limiting part 31 to move towards the mounting cavity when it abuts against the groove of the battery 50, thereby further ensuring the stability of the battery 50 within the mounting cavity. Of course, the position of the first elastic element 40 can be adjusted according to actual needs. For example, the first elastic element 40 can also be set on the side of the switch 30 where the avoidance slope 33 is provided, so that the first elastic element 40 provides elasticity away from the mounting cavity for the avoidance slope 33, and then transmits the force to the first limiting part 31 close to the mounting cavity, thereby achieving reliable fixation of the battery 50.

[0035] In some embodiments, the battery compartment 10 includes a second elastic member 11 located within the mounting cavity and engaging with the battery 50 mounted therein. The second elastic member 11 provides a spring force for the battery 50 to exit the battery compartment 10. Thus, when the switch 30 is switched to the unlocked position, the battery 50 can be easily removed under the action of the second elastic member 11, facilitating operation and improving user experience. Specifically, in this embodiment, the second elastic member 11 is located at the bottom of the battery compartment 10, i.e., when the battery 50 is located within the mounting cavity, the second elastic member 11 is located between the battery 50 and the bottom of the battery compartment 10, and is positioned on the side of the battery compartment 10 closest to the switch 30. Optionally, the second elastic member 11 can be a spring, with the spring's extension and contraction direction aligned with the direction in which the battery 50 enters and exits the mounting cavity. This allows the second elastic member 11 to provide an upward spring force for the battery 50 when the switch 30 is switched to the unlocked position, thereby assisting in the removal of the battery 50 and facilitating operation. It should be noted that the up-down direction mentioned in this embodiment refers to the direction in which the battery 50 enters and exits the mounting cavity, i.e. Figure 2 , Figure 3 The up and down directions in the middle.

[0036] In some embodiments, the battery cover 20 further includes a snap-fit ​​structure 21, the battery compartment 10 further includes a snap-fit ​​portion 12, the mounting cavity includes a first side and a second side opposite to each other, the switch 30 is disposed on the first side, and the snap-fit ​​structure 21 and the snap-fit ​​portion 12 are both located on the second side. The battery cover 20 and the battery compartment 10 are engaged by the snap-fit ​​structure 21 and the snap-fit ​​portion 12, thereby realizing the openable and closable connection of the battery cover 20 and the battery compartment 10. Specifically, as Figure 1 , Figure 2 As shown, the battery cover 20 in this embodiment is provided with a mounting plate covering the entrance of the mounting cavity and three side plates surrounding the edge of the mounting plate and extending towards the mounting cavity. The side plates are all perpendicular to the mounting plate, thus forming a directional cover-like structure with one side plate missing. The side without a side plate is the second side. The snap-fit ​​structure 21 is a hook, and the snap-fit ​​part 12 has an L-shaped cross-section. When the battery cover 20 is placed on the battery compartment 10, the hook portion extends into the right-angle bend of the L-shaped structure. The side plate on the second side of the battery cover 20 engages with the second limiting part 32, simultaneously achieving reliable fixation of the battery cover 20 and the switch 30, thereby improving the reliability of battery 50 fixation and the stability of the limiting structure of the battery cover 20, while also making the assembly and disassembly of the battery cover 20 simpler and more convenient. Optionally, multiple snap-fit ​​structures 21 and corresponding multiple snap-fit ​​parts 12 can be provided to ensure reliable snap-fit ​​between the battery cover 20 and the battery compartment 10.

[0037] This application embodiment also provides a lock, including the above-mentioned lock battery assembly, thereby improving the stability of the battery 50, making the battery 50 of the lock more secure and easier to install and remove, thus enabling the lock to stably meet the charging needs during use, while also simplifying the structure of the lock and reducing costs.

[0038] like Figure 4 , Figure 5As shown, in some embodiments, the lock also includes a battery 50, which has a foolproof structure 51. The foolproof structure 51 is offset from the geometric axis of the battery 50. The battery compartment 10 also includes a foolproof component 13, which is located on the side wall of the mounting cavity and engages with the foolproof structure 51 of the battery 50. This facilitates the installation of the battery 50 into the mounting cavity and avoids the risk of the circuit board or battery 50 getting stuck due to reverse installation of the battery 50. Specifically, this embodiment has two foolproof structures 51, both located at the connection between the bottom and side of the battery 50. The foolproof structure 51 is a groove. Similarly, there are two foolproof components 13, both located at the connection between the bottom and side of the battery compartment 10. The foolproof component 13 is a protrusion. When the battery 50 is in the mounting cavity, the foolproof component 13 extends into the foolproof structure 51, thereby preventing the battery 50 from being installed backwards. It also helps to further protect the battery 50 and prevents lateral displacement of the battery 50 within the mounting cavity.

[0039] In this embodiment, the lock battery assembly achieves stable installation of the battery 50 through a limiting engagement between the switch 30 and the battery 50, a limiting engagement between the battery cover 20 and the switch 30, and a snap-fit ​​engagement between the battery cover 20 and the battery compartment 10. This ensures better connection security between the battery 50 and the battery plate, meeting the user's need to charge the lock while in use. Furthermore, it requires fewer parts, simplifies production, and results in lower economic costs. The installation and removal of the battery 50 utilizes the structure of the switch 30 and the second elastic member 11, increasing ease of operation and providing a better user experience. A foolproof structure 51 and a foolproof component 13 are provided within the battery 50 and the battery compartment 10 to prevent damage to the components caused by incorrect battery installation.

[0040] It should be noted that "multiple" in the above embodiments refers to at least two.

[0041] As can be seen from the above description, the embodiments of this utility model achieve the following technical effects:

[0042] 1. This solves the problem of poor connection reliability between the battery mounting structure and the battery in existing lock technologies;

[0043] 2. By setting the battery cover to be positioned on the movement path of the switch component when it is placed on the battery compartment, the position of the switch component is locked, and thus the position of the battery in the battery compartment is locked, thereby improving the stability of the lock battery assembly structure and making the connection between the lock battery assembly and the battery more stable and reliable.

[0044] 3. When the switch is in the locked position, the battery is locked inside the battery compartment, thus fixing the battery position. The battery cover is placed on the battery compartment, which in turn fixes the switch in the locked position, further securing the battery position. When the battery needs to be removed, simply open the battery cover and switch the switch to the unlocked position. This not only improves the reliability of the connection between the battery and the lock battery assembly but also increases the convenience of operation and enhances the user experience.

[0045] Obviously, the embodiments described above are only some embodiments of this utility model, and not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of this utility model.

[0046] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the exemplary embodiments according to this application. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.

[0047] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in sequences other than those illustrated or described herein.

[0048] The above description is merely a preferred embodiment of this utility model and is not intended to limit the utility model. Various modifications and variations can be made to this utility model by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this utility model should be included within the protection scope of this utility model.

Claims

1. A lock battery assembly, characterized in that, include: Battery compartment (10), the battery compartment (10) having a mounting cavity for placing a battery (50); A battery cover (20) is provided on the battery compartment (10) in an openable and closable manner; The switch (30) is movably connected to the battery compartment (10) and has a locking position for locking the battery (50) and an unlocking position for avoiding the removal path of the battery (50). When the battery cover (20) is placed on the battery compartment (10), the battery cover (20) is located on the movement path of the switch (30) and hinders the movement of the switch (30), so that the switch (30) is kept in the locking position.

2. The lock battery assembly according to claim 1, characterized in that, The switch (30) has a first limiting part (31) and a second limiting part (32) on opposite sides. The first limiting part (31) faces the mounting cavity, and the second limiting part (32) is away from the mounting cavity. The first limiting part (31) is used to lock and cooperate with the battery (50), and the second limiting part (32) is used to abut and limit the inner wall surface of the battery cover (20).

3. The lock battery assembly according to claim 2, characterized in that, The switch (30) is rotatably connected to the battery compartment (10). When the switch (30) rotates relative to the battery compartment (10), it can switch between the locked position and the unlocked position. The first limiting part (31) and the second limiting part (32) are located on both sides of the rotation axis of the switch (30).

4. The lock battery assembly according to claim 2, characterized in that, The first limiting part (31) is a protrusion that engages with a groove on the battery (50). When the switch (30) is in the locked position, the protrusion is located in the groove to lock the battery (50) in the mounting cavity; or, the first limiting part (31) is a groove that engages with a protrusion on the battery (50). When the switch (30) is in the locked position, the protrusion is located in the groove to lock the battery (50) in the mounting cavity.

5. The lock battery assembly according to claim 3, characterized in that, The switch (30) also has a clearance slope (33) on the side facing the mounting cavity. The clearance slope (33) and the first limiting part (31) are located on both sides of the rotation axis of the switch (30) and are inclined in a direction away from the rotation center of the switch (30). The clearance slope (33) is inclined in a direction away from the mounting cavity.

6. The lock battery assembly according to any one of claims 1 to 5, characterized in that, The lock battery assembly also includes a first elastic element (40), the two ends of which abut against the battery compartment (10) and the switch (30) respectively, and provide the switch (30) with an elastic force to move toward the locked position.

7. The lock battery assembly according to any one of claims 1 to 5, characterized in that, The battery compartment (10) includes a second elastic member (11) located in the mounting cavity and engaging with the battery (50) installed in the mounting cavity. The second elastic member (11) provides the battery (50) with a spring force to exit the battery compartment (10).

8. The lock battery assembly according to any one of claims 1 to 5, characterized in that, The battery cover (20) further includes a snap-fit ​​structure (21), the battery compartment (10) further includes a snap-fit ​​part (12), the mounting cavity includes a first side and a second side opposite to each other, the switch (30) is disposed on the first side, the snap-fit ​​structure (21) and the snap-fit ​​part (12) are both located on the second side, and the battery cover (20) and the battery compartment (10) are snap-fitted together by the snap-fit ​​structure (21) and the snap-fit ​​part (12).

9. A lock, characterized in that, Includes the lock battery assembly according to any one of claims 1 to 8.

10. The lock according to claim 9, characterized in that, The lock also includes a battery (50) with a foolproof structure (51) on it. The foolproof structure (51) is offset from the geometric axis of the battery (50). The battery compartment (10) also includes a foolproof component (13) located on the side wall of the mounting cavity and mating with the foolproof structure (51) of the battery (50).