Electronic lock and charging gun

By employing a partition wall and sealing ring design in the charging gun electronic lock, the problem of moisture entering the housing cavity is solved, the waterproof rating requirement of the motor is reduced, and the cost of the electronic lock is lowered.

CN224233042UActive Publication Date: 2026-05-12TYCO ELECTRONICS TECHNOLOGY (SIP) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
TYCO ELECTRONICS TECHNOLOGY (SIP) CO LTD
Filing Date
2025-04-08
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

The existing charging gun electronic lock has a shell cavity that is connected to the outside, which allows moisture to enter. This requires the servo motor to have a high waterproof rating, which increases the cost.

Method used

The housing cavity is divided into a sealed first cavity and an open second cavity by a partition wall. The motor is installed in the sealed first cavity, and the through hole of the connecting shaft is sealed by a sealing ring to prevent moisture from entering.

Benefits of technology

The waterproof rating requirement for the motor has been lowered, reducing the cost of the electronic lock.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224233042U_ABST
    Figure CN224233042U_ABST
Patent Text Reader

Abstract

The utility model discloses an electronic lock and a charging gun. The electronic lock includes: a housing having a first cavity, a second cavity, and a partition wall separating the first cavity from the second cavity; the locking piece is arranged in the second cavity and is suitable for rotating between a locking position jointed with the charging seat and an unlocking position separated from the charging seat; the motor is arranged in the first cavity and used for driving the locking piece to rotate between the locking position and the unlocking position; the connecting shaft is connected between the locking piece and the motor and penetrates through a through hole in the partition wall; the connecting shaft is sleeved with the sealing ring, the sealing ring is extruded between the inner circumferential face of the through hole and the outer circumferential face of the connecting shaft so as to seal the through hole, the first cavity is a sealed cavity isolated from the outside of the shell, and the second cavity is an open cavity communicated with the outside of the shell. According to the utility model, external water vapor cannot enter the sealed first cavity, so that the motor can adopt a non-waterproof common motor, and the cost can be greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to an electronic lock for locking a charging gun to a charging dock. Furthermore, this utility model also relates to a charging gun incorporating the electronic lock. Background Technology

[0002] In existing technology, when a charging gun is plugged into a charging dock, an electronic lock is installed on the charging gun to lock it to the dock and prevent accidental separation. Typically, this electronic lock includes a housing, a locking member, and a servo motor. The locking member is rotatably mounted in the housing and can rotate between a locked position and an unlocked position. The servo motor is mounted in the housing and drives the locking member to rotate between the locked and unlocked positions. When the locking member of the electronic lock is moved to the locked position, it engages with the charging dock to lock the charging gun to the dock. When the electronic lock is moved to the unlocked position, the locking member disengages from the charging dock, allowing the charging gun to be removed from the dock. In existing technology, a slot is formed in the housing, and the locking portion of the locking member protrudes from this slot for engagement with the charging dock. Therefore, the existing housing's inner cavity is an open cavity that communicates with the outside. Moisture can enter the inner cavity of the housing through slots, which requires the servo motor itself to have waterproof function. For example, the servo motor needs to have a waterproof rating of IPX or higher. However, servo motors with waterproof function are expensive, which increases the cost of the electronic lock. Utility Model Content

[0003] The purpose of this utility model is to solve at least one aspect of the aforementioned problems and defects existing in the prior art.

[0004] According to one aspect of the present invention, an electronic lock is provided for locking a charging gun to a charging dock. The electronic lock includes: a housing having a first cavity and a second cavity and a partition wall separating the first cavity and the second cavity; a locking member disposed in the second cavity and adapted to rotate between a locked position engaged with the charging dock and an unlocked position separated from the charging dock; a motor disposed in the first cavity for driving the locking member to rotate between the locked position and the unlocked position; a connecting shaft connecting the locking member and the motor and passing through a through hole in the partition wall; and a sealing ring fitted onto the connecting shaft and pressed between the inner circumferential surface of the through hole and the outer circumferential surface of the connecting shaft to seal the through hole, wherein the first cavity is a sealed cavity isolated from the outside of the housing, and the second cavity is an open cavity communicating with the outside of the housing.

[0005] According to an exemplary embodiment of the present invention, a slot communicating with the second cavity is formed on the housing, and the locking part of the locking member is exposed through the slot to engage with the charging base.

[0006] According to another exemplary embodiment of the present invention, a mounting hole is formed on the locking member, the connecting shaft has a joint portion that engages in the mounting hole, and the cross-section of the mounting hole of the locking member and the joint portion of the connecting shaft is non-circular, such that the locking member is engaged to the connecting shaft and rotates with the connecting shaft.

[0007] According to another exemplary embodiment of the present invention, the cross-section of the mounting hole of the locking member and the joint of the connecting shaft is elliptical or polygonal.

[0008] According to another exemplary embodiment of the present invention, the cross-section of the mounting hole of the locking member and the joint of the connecting shaft is a regular triangle, a regular square, a regular pentagon or a regular hexagon.

[0009] According to another exemplary embodiment of the present invention, a sealing ring mounting groove for mounting the sealing ring is formed on the connecting shaft. The sealing ring is mounted in the sealing ring mounting groove. The sealing ring can rotate relative to the connecting shaft and / or the housing when the connecting shaft rotates, so as to achieve a dynamic seal between the connecting shaft and the housing.

[0010] According to another exemplary embodiment of the present invention, the connecting shaft has a connecting end, in which a socket is formed, and the output shaft of the motor is pluggably inserted into the socket of the connecting end of the connecting shaft, and the cross-section of the socket of the connecting end of the connecting shaft and the output shaft of the motor is non-circular, such that the connecting shaft is engaged with the output shaft of the motor and rotates together with the output shaft of the motor.

[0011] According to another exemplary embodiment of the present invention, the cross-section of the insertion hole at the connecting end of the connecting shaft and the output shaft of the motor is elliptical, flat, or polygonal.

[0012] According to another exemplary embodiment of the present invention, the housing includes: a housing body having a first bottom opening and a second bottom opening respectively communicating with the first cavity and the second cavity; and a bottom cover welded to the bottom of the housing body to seal the first bottom opening. The motor is mounted in the first cavity via the first bottom opening, and the locking member is mounted in the second cavity via the second bottom opening.

[0013] According to another exemplary embodiment of the present invention, the connecting shaft further has a support end, a support portion is formed on the bottom cover of the housing, a positioning groove is formed on the support portion, and the support end of the connecting shaft is rotatably supported in the positioning groove of the support portion.

[0014] According to another exemplary embodiment of the present invention, the connecting shaft further has a positioning flange, which axially abuts against the positioning step of the support portion of the bottom cover to axially position the connecting shaft.

[0015] According to another exemplary embodiment of the present invention, a U-shaped groove is formed on one end wall of the shell body, the connecting shaft is adapted to be inserted into the shell body through the U-shaped groove, and the support portion of the bottom cover is positioned in the U-shaped groove of the shell body.

[0016] According to another exemplary embodiment of the present invention, the electronic lock further includes a detection module, which is installed in the first cavity via the first bottom opening, for detecting the position of the locking member.

[0017] According to another aspect of this utility model, a charging gun is provided. The charging gun includes: a charging gun housing; power terminals disposed in the charging gun housing for mating with mating terminals of a charging socket; and the aforementioned electronic lock mounted on the charging gun housing. When the charging gun is inserted into the charging socket and the locking member is rotated to the locked position, the locking member engages with the charging socket to lock the charging gun to the charging socket; when the charging gun is inserted into the charging socket and the locking member is rotated to the unlocked position, the locking member disengages from the charging socket to allow the charging gun to be pulled out of the charging socket.

[0018] In the foregoing exemplary embodiments of the present invention, a partition wall and a sealing ring are used to divide the inner cavity of the housing into a sealed first cavity and an open second cavity, and the motor is installed in the sealed first cavity. Since external moisture cannot enter the sealed first cavity, a non-waterproof ordinary motor can be used, thereby greatly reducing costs.

[0019] Other objects and advantages of the present invention will become apparent from the following description of the invention with reference to the accompanying drawings, and will help to provide a comprehensive understanding of the invention. Attached Figure Description

[0020] Figure 1 A perspective view of an electronic lock from the bottom, according to an exemplary embodiment of the present invention;

[0021] Figure 2This diagram shows a perspective view of an electronic lock according to an exemplary embodiment of the present invention, viewed from the bottom, wherein the bottom cover has not yet been welded to the bottom of the housing body.

[0022] Figure 3 An exploded view of an electronic lock according to an exemplary embodiment of the present invention is shown;

[0023] Figure 4 Showing a longitudinal sectional view of an electronic lock according to an exemplary embodiment of the present invention;

[0024] Figure 5 Showing an anatomical view of an electronic lock according to an exemplary embodiment of the present invention;

[0025] Figure 6 A perspective view of the motor, locking element, and connecting shaft of an electronic lock according to an exemplary embodiment of the present invention is shown.

[0026] Figure 7 Showing a cross-sectional view of the motor, locking element, and connecting shaft of an electronic lock according to an exemplary embodiment of the present invention;

[0027] Figure 8 A perspective view of the connecting shaft and sealing ring of an electronic lock according to an exemplary embodiment of the present invention is shown.

[0028] Figure 9 This diagram shows a perspective view of an electronic lock according to an exemplary embodiment of the present invention, viewed from top, with the bottom cover not yet welded to the bottom of the housing body.

[0029] Figure 10 Showing a longitudinal sectional view of an electronic lock according to an exemplary embodiment of the present invention, wherein the bottom cover has not yet been welded to the bottom of the housing body;

[0030] Figure 11 This shows a longitudinal sectional view of an electronic lock according to an exemplary embodiment of the present invention, wherein the bottom cover has been welded to the bottom of the housing body. Detailed Implementation

[0031] The technical solution of this utility model will be further described in detail below through embodiments and in conjunction with the accompanying drawings. In this specification, the same or similar reference numerals indicate the same or similar components. The following description of the embodiments of this utility model with reference to the accompanying drawings is intended to explain the overall inventive concept of this utility model and should not be construed as a limitation thereof.

[0032] Furthermore, in the following detailed description, numerous specific details are set forth for ease of explanation to provide a thorough understanding of the embodiments disclosed herein. However, it will be apparent that one or more embodiments may be practiced without these specific details. In other instances, well-known structures and apparatuses are illustrated to simplify the figures.

[0033] According to a general technical concept of this utility model, an electronic lock is provided for locking a charging gun to a charging dock. The electronic lock includes: a housing having a first cavity and a second cavity, and a partition wall separating the first cavity and the second cavity; a locking member disposed in the second cavity and adapted to rotate between a locked position engaged with the charging dock and an unlocked position separated from the charging dock; a motor disposed in the first cavity for driving the locking member to rotate between the locked position and the unlocked position; a connecting shaft connecting the locking member and the motor and passing through a through hole in the partition wall; and a sealing ring fitted onto the connecting shaft and pressed between the inner circumferential surface of the through hole and the outer circumferential surface of the connecting shaft to seal the through hole, wherein the first cavity is a sealed cavity isolated from the outside of the housing, and the second cavity is an open cavity communicating with the outside of the housing.

[0034] According to another overall technical concept of this utility model, a charging gun is provided. The charging gun includes: a charging gun housing; a power terminal disposed in the charging gun housing for mating with a mating terminal of a charging socket; and the aforementioned electronic lock, installed on the charging gun housing. When the charging gun is inserted into the charging socket and the locking member is rotated to the locked position, the locking member engages with the charging socket to lock the charging gun to the charging socket; when the charging gun is inserted into the charging socket and the locking member is rotated to the unlocked position, the locking member disengages from the charging socket to allow the charging gun to be pulled out of the charging socket.

[0035] Figure 1 A perspective view of an electronic lock from the bottom, according to an exemplary embodiment of the present invention; Figure 2 This diagram shows a perspective view of an electronic lock according to an exemplary embodiment of the present invention, viewed from the bottom, wherein the bottom cover 14 has not yet been welded to the bottom of the housing body 10. Figure 3 An exploded view of an electronic lock according to an exemplary embodiment of the present invention is shown; Figure 4 Showing a longitudinal sectional view of an electronic lock according to an exemplary embodiment of the present invention; Figure 5 Showing an anatomical view of an electronic lock according to an exemplary embodiment of the present invention; Figure 6A perspective view of a motor 3, locking member 4 and connecting shaft 5 of an electronic lock according to an exemplary embodiment of the present invention is shown. Figure 7 Showing a cross-sectional view of the motor 3, locking member 4 and connecting shaft 5 of an electronic lock according to an exemplary embodiment of the present invention; Figure 8 A perspective view of the connecting shaft 5 and sealing ring 6 of an electronic lock according to an exemplary embodiment of the present invention is shown.

[0036] Figure 9 This diagram shows a perspective view of an electronic lock according to an exemplary embodiment of the present invention, viewed from above, with the bottom cover 14 not yet welded to the bottom of the housing body 10. Figure 10 Showing a longitudinal sectional view of an electronic lock according to an exemplary embodiment of the present invention, wherein the bottom cover 14 has not yet been welded to the bottom of the housing body 10; Figure 11 This shows a longitudinal sectional view of an electronic lock according to an exemplary embodiment of the present invention, wherein the bottom cover 14 has been welded to the bottom of the housing body 10.

[0037] like Figures 1 to 11 As shown, in an exemplary embodiment of this utility model, an electronic lock is disclosed. This electronic lock is used to lock a charging gun (not shown) to a charging dock (not shown). The electronic lock includes: a housing 1, a locking member 4, a motor 3, a connecting shaft 5, and a sealing ring 6. The housing 1 has a first cavity 11 and a second cavity 12, and a partition wall 13 separating the first cavity 11 and the second cavity 12. The locking member 4 is disposed in the second cavity 12 and adapted to rotate between a locked position engaged with the charging dock and an unlocked position separated from the charging dock. The motor 3 is disposed in the first cavity 11 and is used to drive the locking member 4 to rotate between the locked position and the unlocked position. The connecting shaft 5 connects the locking member 4 and the motor 3 and passes through a through hole 130 on the partition wall 13. The sealing ring 6 is fitted onto the connecting shaft 5 and pressed between the inner circumferential surface of the through hole 130 and the outer circumferential surface of the connecting shaft 5 to seal the through hole 130. The first cavity 11 is a sealed cavity isolated from the outside of the housing 1, and the second cavity 12 is an open cavity connected to the outside of the housing 1.

[0038] like Figures 1 to 11 As shown in the illustrated embodiment, a slot 16 communicating with the second cavity 12 is formed on the housing 1, and the locking part 41 of the locking member 4 is exposed through the slot 16 to engage with the charging base.

[0039] like Figures 1 to 11As shown in the illustrated embodiment, a mounting hole 40 is formed on the locking member 4, and the connecting shaft 5 has a joint portion 50 that engages into the mounting hole 40. The cross-section of the mounting hole 40 of the locking member 4 and the joint portion 50 of the connecting shaft 5 is non-circular, so that the locking member 4 is engaged to the connecting shaft 5 and rotates with the connecting shaft 5.

[0040] like Figures 1 to 11 As shown, in an exemplary embodiment of the present invention, the cross-section of the mounting hole 40 of the locking member 4 and the joint 50 of the connecting shaft 5 can be elliptical or polygonal.

[0041] like Figures 1 to 11 As shown in the illustrated embodiment, the cross-section of the mounting hole 40 of the locking member 4 and the joint 50 of the connecting shaft 5 is a regular hexagon. However, the present invention is not limited to the illustrated embodiment. For example, the cross-section of the mounting hole 40 of the locking member 4 and the joint 50 of the connecting shaft 5 may be a regular triangle, a regular square, or a regular pentagon.

[0042] like Figures 1 to 11 As shown in the illustrated embodiment, a sealing ring mounting groove 52 for mounting a sealing ring 6 is formed on the connecting shaft 5. The sealing ring 6 is mounted in the sealing ring mounting groove 52. The sealing ring 6 can rotate relative to the connecting shaft 5 and / or the housing 1 when the connecting shaft 5 rotates, so as to achieve a dynamic seal between the connecting shaft 5 and the housing 1.

[0043] like Figures 1 to 11 As shown in the illustrated embodiment, the connecting shaft 5 has a connecting end 51, in which a socket 510 is formed. The output shaft 31 of the motor 3 is pluggably inserted into the socket 510 of the connecting end 51 of the connecting shaft 5. The cross-sections of the socket 510 of the connecting end 51 of the connecting shaft 5 and the output shaft 31 of the motor 3 are non-circular, so that the connecting shaft 5 is engaged with the output shaft 31 of the motor 3 and rotates together with the output shaft 31 of the motor 3.

[0044] like Figures 1 to 11 As shown in the illustrated embodiment, the cross-sections of the insertion hole 510 of the connecting end 51 of the connecting shaft 5 and the output shaft 31 of the motor 3 are flat. However, the present invention is not limited to the illustrated embodiment. For example, in another exemplary embodiment of the present invention, the cross-sections of the insertion hole 510 of the connecting end 51 of the connecting shaft 5 and the output shaft 31 of the motor 3 may be elliptical or polygonal.

[0045] like Figures 1 to 11As shown in the illustrated embodiment, the housing 1 includes a housing body 10 and a bottom cover 14. The housing body 10 has a first bottom opening 110 and a second bottom opening 120 communicating with a first cavity 11 and a second cavity 12, respectively. The bottom cover 14 is welded to the bottom of the housing body 10 to seal the first bottom opening 110. The motor 3 is mounted into the first cavity 11 via the first bottom opening 110, and the locking member 4 is mounted into the second cavity 12 via the second bottom opening 120.

[0046] like Figures 1 to 11 As shown in the illustrated embodiment, the connecting shaft 5 also has a support end 54. A support portion 140 is formed on the bottom cover 14 of the housing 1, and a positioning groove 144 is formed on the support portion 140. The support end 54 of the connecting shaft 5 is rotatably supported in the positioning groove 144 of the support portion 140.

[0047] like Figures 1 to 11 As shown in the illustrated embodiment, the connecting shaft 5 also has a positioning flange 53, which axially abuts against the positioning step 143 of the support portion 140 of the bottom cover 14 to axially position the connecting shaft 5.

[0048] like Figures 1 to 11 As shown in the illustrated embodiment, a U-shaped slot 15 is formed on one end wall of the shell body 10, and the connecting shaft 5 is adapted to be inserted into the shell body 10 through the U-shaped slot 15. The support portion 140 of the bottom cover 14 is positioned in the U-shaped slot 15 of the shell body 10.

[0049] like Figures 1 to 11 As shown in the illustrated embodiment, the electronic lock further includes a detection module 7, which is installed in the first cavity 11 via a first bottom opening 110 and is used to detect the position of the locking member 4.

[0050] like Figures 1 to 11 As shown, in another exemplary embodiment of this utility model, a charging gun is also disclosed. The charging gun includes: a charging gun housing (not shown), power terminals (not shown), and the aforementioned electronic lock. The power terminals are disposed in the charging gun housing for mating with mating terminals (not shown) of a charging socket (not shown). The electronic lock is mounted on the charging gun housing. When the charging gun is inserted into the charging socket and the locking member 4 is rotated to the locked position, the locking member 4 engages with the charging socket to lock the charging gun to the charging socket. When the charging gun is inserted into the charging socket and the locking member 4 is rotated to the unlocked position, the locking member 4 disengages from the charging socket to allow the charging gun to be pulled out of the charging socket.

[0051] Those skilled in the art will understand that the embodiments described above are exemplary and can be improved upon. The structures described in the various embodiments can be freely combined without causing structural or principle conflicts, and these changes should fall within the protection scope of this utility model.

[0052] Although the present invention has been described in conjunction with the accompanying drawings, the embodiments disclosed in the drawings are intended to illustrate preferred embodiments of the present invention and should not be construed as a limitation thereof.

[0053] While some embodiments of the general concept of this utility model have been shown and described, those skilled in the art will understand that changes may be made to these embodiments without departing from the principles and spirit of the general concept of this utility model, the scope of which is defined by the claims and their equivalents.

[0054] It should be noted that the word "comprising" does not exclude other elements or steps, and the words "a" or "an" do not exclude multiple elements. Furthermore, any reference numerals in the claims should not be construed as limiting the scope of this invention.

Claims

1. An electronic lock for locking a charging gun to a charging dock, characterized in that, The electronic lock includes: The housing (1) has a first cavity (11) and a second cavity (12) and a partition wall (13) separating the first cavity (11) and the second cavity (12); A locking element (4) is disposed in the second cavity (12) and adapted to rotate between a locked position engaged with the charging dock and an unlocked position disengaged from the charging dock; A motor (3) is disposed in the first cavity (11) for driving the locking member (4) to rotate between the locked position and the unlocked position; A connecting shaft (5) is connected between the locking member (4) and the motor (3) and passes through a through hole (130) in the partition wall (13); and A sealing ring (6) is fitted onto the connecting shaft (5) and pressed between the inner circumferential surface of the through hole (130) and the outer circumferential surface of the connecting shaft (5) to seal the through hole (130). The first cavity (11) is a sealed cavity isolated from the outside of the housing (1), and the second cavity (12) is an open cavity communicating with the outside of the housing (1).

2. The electronic lock according to claim 1, characterized in that: A slot (16) communicating with the second cavity (12) is formed on the housing (1), and the locking part (41) of the locking member (4) is exposed through the slot (16) to engage with the charging base.

3. The electronic lock according to claim 1, characterized in that: A mounting hole (40) is formed on the locking member (4), and the connecting shaft (5) has a joint (50) that engages in the mounting hole (40). The cross-section of the mounting hole (40) of the locking member (4) and the joint (50) of the connecting shaft (5) is non-circular, so that the locking member (4) is engaged to the connecting shaft (5) and rotates together with the connecting shaft (5).

4. The electronic lock according to claim 3, characterized in that: The cross-section of the mounting hole (40) of the locking member (4) and the joint (50) of the connecting shaft (5) is elliptical or polygonal.

5. The electronic lock according to claim 4, characterized in that: The cross-section of the mounting hole (40) of the locking member (4) and the joint (50) of the connecting shaft (5) is a regular triangle, a regular square, a regular pentagon or a regular hexagon.

6. The electronic lock according to claim 1, characterized in that: A sealing ring mounting groove (52) for mounting the sealing ring (6) is formed on the connecting shaft (5). The sealing ring (6) is mounted in the sealing ring mounting groove (52). The sealing ring (6) can rotate relative to the connecting shaft (5) and / or the housing (1) when the connecting shaft (5) rotates, so as to achieve dynamic sealing between the connecting shaft (5) and the housing (1).

7. The electronic lock according to claim 1, characterized in that: The connecting shaft (5) has a connecting end (51) and a socket (510) is formed in the connecting end (51) of the connecting shaft (5). The output shaft (31) of the motor (3) is pluggably inserted into the socket (510) of the connecting end (51) of the connecting shaft (5). The cross-section of the socket (510) of the connecting end (51) of the connecting shaft (5) and the output shaft (31) of the motor (3) is non-circular, so that the connecting shaft (5) is engaged to the output shaft (31) of the motor (3) and rotates together with the output shaft (31) of the motor (3).

8. The electronic lock according to claim 7, characterized in that: The cross-section of the insertion hole (510) of the connecting end (51) of the connecting shaft (5) and the output shaft (31) of the motor (3) is elliptical, flat, or polygonal.

9. The electronic lock according to any one of claims 1-8, characterized in that: The housing (1) includes: The shell body (10) has a first bottom opening (110) and a second bottom opening (120) respectively communicating with the first cavity (11) and the second cavity (12); and The bottom cover (14) is welded to the bottom of the shell body (10) to seal the first bottom opening (110). The motor (3) is installed into the first cavity (11) via the first bottom opening (110), and the locking member (4) is installed into the second cavity (12) via the second bottom opening (120).

10. The electronic lock according to claim 9, characterized in that: The connecting shaft (5) also has a support end (54), and a support portion (140) is formed on the bottom cover (14) of the housing (1). A positioning groove (144) is formed on the support portion (140), and the support end (54) of the connecting shaft (5) is rotatably supported in the positioning groove (144) of the support portion (140).

11. The electronic lock according to claim 9, characterized in that: The connecting shaft (5) also has a positioning flange (53), which axially abuts against the positioning step (143) of the support portion (140) of the bottom cover (14) to axially position the connecting shaft (5).

12. The electronic lock according to claim 10, characterized in that: A U-shaped slot (15) is formed on one end wall of the shell body (10), the connecting shaft (5) is adapted to be inserted into the shell body (10) through the U-shaped slot (15), and the support portion (140) of the bottom cover (14) is positioned in the U-shaped slot (15) of the shell body (10).

13. The electronic lock according to claim 9, characterized in that, Also includes: The detection module (7) is installed in the first cavity (11) via the first bottom opening (110) for detecting the position of the locking member (4).

14. A charging gun, characterized in that, include: Charging gun casing; Power terminals are disposed in the housing of the charging gun and are used to mate with the mating terminals of the charging socket; and The electronic lock according to any one of claims 1-13 is installed on the charging gun housing. When the charging gun is inserted into the charging socket and the locking member (4) is rotated to the locked position, the locking member (4) engages with the charging socket to lock the charging gun to the charging socket; When the charging gun is inserted into the charging socket and the locking member (4) is rotated to the unlocked position, the locking member (4) separates from the charging socket to allow the charging gun to be pulled out of the charging socket.