Position detection module, electronic lock and charging gun
Patent Information
- Application Number
- CN202510430849.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2026-10-16
AI Technical Summary
但是,微动开关成本较高,而且还需要提供用于安装微动开关的电路板
[0025] Furthermore, in some of the exemplary embodiments of the present invention, the moving contact is small in size and wear-resistant. Therefore, the present invention can also reduce the size of the electronic lock and extend its service life.
Smart Images

Figure CN122921080A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a position detection module for detecting the position of the locking element of an electronic lock on a charging gun. Furthermore, this invention also relates to an electronic lock including the position detection module and a charging gun including 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 has a locking element that can move between a locked position and an unlocked position. When the locking element is moved to the locked position, it engages with the charging dock to lock the charging gun to it. When the electronic lock is moved to the unlocked position, the locking element disengages from the charging dock, allowing the charging gun to be removed. In existing technology, the electronic lock incorporates a microswitch for detecting the position of the locking element. However, microswitches are expensive and require a circuit board for mounting them. Furthermore, microswitches are bulky and have a short lifespan, significantly impacting the overall performance of the electronic lock. Summary of the Invention
[0003] The purpose of this invention 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, a position detection module is provided. The position detection module is used to detect the position of the locking element of an electronic lock of a charging gun. The position detection module includes: a rotating member having a slide bar offset from its axis of rotation; a moving member having a groove that slidably engages with the slide bar; and a moving contact fixed to the moving member. The rotating member is adapted to rotate about the axis of rotation under the drive of a driving device of the electronic lock. The rotational motion of the rotating member can be converted into linear motion of the moving member by the cooperating slide bar and groove, thereby driving the moving contact to move between a bridging position bridging a pair of detection terminals of the electronic lock and a disconnected position not bridging the pair of detection terminals.
[0005] According to an exemplary embodiment of the present invention, the slide bar is parallel to the rotation axis of the rotating member and deviates from the rotation axis of the rotating member by a predetermined distance, and the slide groove extends a predetermined length in a direction perpendicular to the rotation axis of the rotating member.
[0006] According to another exemplary embodiment of the present invention, the moving contact includes: a fixed substrate fixed to the moving member; and a pair of contact springs connected to the fixed substrate. When the moving contact is in the bridging position, the pair of contact springs are in electrical contact with the pair of detection terminals respectively; when the moving contact is in the disconnected position, at least one of the pair of contact springs is not in contact with the detection terminals.
[0007] According to another exemplary embodiment of the present invention, the movable member is injection molded onto the fixed substrate of the moving contact, such that the movable member and the moving contact become an integral part.
[0008] According to another exemplary embodiment of the present invention, the fixed base plate of the moving contact is detachably assembled to the moving member, so that the moving contact can be replaced individually.
[0009] According to another exemplary embodiment of the present invention, the movable member includes: a block adapted to be movably mounted in a guide groove within the housing of an electronic lock so as to be linearly movable along the guide groove; and an insert plate connected to the block plate and having a slide groove formed on the insert plate, a slot formed on the rotating member, the slide rod being located in the slot, and the insert plate being movably inserted into the slot.
[0010] According to another exemplary embodiment of the present invention, a mounting hole is formed on the rotating member to allow the drive shaft of the drive device to pass through, the rotating member being adapted to be mounted on the drive shaft and capable of rotating with the drive shaft.
[0011] According to another aspect of the present invention, an electronic lock is provided. The electronic lock is used to lock a charging gun to a charging dock. The electronic lock includes: a housing; a pair of detection terminals fixed to the inner side of the housing; a driving device disposed in the housing and having a drive shaft; a locking member disposed in the housing and connected to the drive shaft, capable of rotating between a locked position and an unlocked position under the drive of the drive shaft; and the aforementioned position detection module disposed in the housing, with its rotating component mounted on the drive shaft to rotate synchronously with the drive shaft and the locking member. When the locking member is rotated to the locked position, the moving contact is moved to one of the bridging position and the disconnected position; when the locking member is rotated to the unlocked position, the moving contact is moved to the other of the bridging position and the disconnected position.
[0012] According to an exemplary embodiment of the present invention, when the locking member is rotated to the locked position, the moving contact is moved to the bridging position; when the locking member is rotated to the unlocked position, the moving contact is moved to the disconnected position.
[0013] According to another exemplary embodiment of the present invention, when the locking member is rotated to the locked position, the moving contact is moved to the disconnected position; when the locking member is rotated to the unlocked position, the moving contact is moved to the bridging position.
[0014] According to another exemplary embodiment of the present invention, a slot is formed on the top wall of the housing, and the locking member has a locking portion located in the slot of the housing; when the charging gun is inserted into the charging socket and the locking member is rotated to the locked position, the locking portion 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 portion disengages from the charging socket to allow the charging gun to be pulled out of the charging socket.
[0015] According to another exemplary embodiment of the present invention, a linearly extending guide groove is formed inside the housing, and the block of the movable member is movably mounted in the guide groove so as to be able to move linearly along the guide groove.
[0016] According to another exemplary embodiment of the present invention, the electronic lock further includes: a pair of connecting terminals fixed to the inner side of the housing and electrically connected to the drive device for electrically connecting the drive device to a power source.
[0017] According to another exemplary embodiment of the present invention, the housing is injection molded onto the pair of detection terminals and the pair of connection terminals, such that the housing, the pair of detection terminals and the pair of connection terminals are integrated into one piece.
[0018] According to another exemplary embodiment of the present invention, the detection terminal has a contact end that is embedded in the side wall of the housing, and the contact end of the detection terminal has a contact surface that protrudes from the side wall of the housing for electrical contact with the contact spring of the moving contact.
[0019] According to another exemplary embodiment of the present invention, the housing has an interface portion located outside thereon, the detection terminal has a first pin for electrical connection to a detection circuit, and the connection terminal has a second pin for electrical connection to a power supply. The first pin and the second pin extend into the interface portion for electrical connection with a connector inserted into the interface portion.
[0020] According to another exemplary embodiment of the present invention, the housing has a pair of sidewalls opposite each other in its lateral direction, the pair of detection terminals are fixed to the inside of one sidewall of the housing, the guide groove extends along the height direction of the housing, and the drive shaft of the drive device drives the rotating member to rotate about a rotation axis parallel to the longitudinal direction of the housing.
[0021] According to another exemplary embodiment of the present invention, the driving device is a servo motor, and the driving shaft is the output shaft of the servo motor.
[0022] According to another exemplary embodiment of the present invention, the housing has a bottom opening, and the drive device, the position detection module and the locking member are installed in the housing through the bottom opening; the electronic lock further includes a bottom cover, which is installed on the bottom opening of the housing to cover the bottom opening of the housing.
[0023] According to another aspect of the present invention, a charging gun is provided. The charging gun includes: a housing; power terminals disposed in the housing for mating with mating terminals of a charging socket; and the aforementioned electronic lock mounted on the housing. When the charging gun is inserted into the charging socket and the locking member is rotated to a 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 an unlocked position, the locking member disengages from the charging socket to allow the charging gun to be removed from the charging socket.
[0024] In the foregoing exemplary embodiments of the present invention, the structure of the position detection module is simplified and the cost is reduced by using a moving contact installed in the moving block instead of a conventional micro switch.
[0025] Furthermore, in some of the exemplary embodiments of the present invention, the moving contact is small in size and wear-resistant. Therefore, the present invention can also reduce the size of the electronic lock and extend its service life.
[0026] Other objects and advantages of the 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
[0027] Figure 1 A perspective view of a position detection module according to an exemplary embodiment of the present invention is shown, wherein the moving contact is in an open position where a pair of detection terminals are not bridged;
[0028] Figure 2 An exploded schematic diagram of a position detection module according to an exemplary embodiment of the present invention is shown;
[0029] Figure 3 Another exploded schematic diagram of a position detection module according to an exemplary embodiment of the present invention is shown;
[0030] Figure 4 A perspective view of a position detection module according to an exemplary embodiment of the present invention is shown, wherein the moving contact is in a bridging position bridging a pair of detection terminals;
[0031] Figure 5 A cross-sectional view of a position detection module according to an exemplary embodiment of the present invention is shown, wherein the moving contact is in a bridging position bridging a pair of detection terminals;
[0032] Figure 6 A perspective view of an electronic lock drive device, locking member, and position detection module according to an exemplary embodiment of the present invention is shown, wherein the moving contact is in a disconnected position without bridging a pair of detection terminals, and the locking member is in an unlocked position;
[0033] Figure 7 A perspective view of an electronic lock drive device, locking member, and position detection module according to an exemplary embodiment of the present invention is shown, wherein the moving contact is in a bridging position bridging a pair of detection terminals, and the locking member is in a locked position;
[0034] Figure 8 A perspective view showing a drive device and a position detection module for an electronic lock according to an exemplary embodiment of the present invention;
[0035] Figure 9 A perspective view of an electronic lock according to an exemplary embodiment of the present invention is shown, wherein the bottom cover is removed;
[0036] Figure 10 An exploded view of an electronic lock according to an exemplary embodiment of the present invention is shown;
[0037] Figure 11 A perspective view of an electronic lock according to an exemplary embodiment of the present invention is shown. Detailed Implementation
[0038] The technical solution of the present invention 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 the present invention with reference to the accompanying drawings is intended to explain the overall inventive concept of the present invention and should not be construed as a limitation thereof.
[0039] 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.
[0040] According to a general technical concept of the present invention, a position detection module is provided. The position detection module is used to detect the position of the locking element of an electronic lock of a charging gun. The position detection module includes: a rotating member having a slide rod offset from its axis of rotation; a moving member having a groove that slidably engages with the slide rod; and a moving contact fixed to the moving member. The rotating member is adapted to rotate about the axis of rotation under the drive of a driving device of the electronic lock. The rotational motion of the rotating member can be converted into linear motion of the moving member through the cooperating slide rod and groove, thereby driving the moving contact to move between a bridging position bridging a pair of detection terminals of the electronic lock and a disconnected position not bridging the pair of detection terminals.
[0041] According to another general technical concept of the present invention, an electronic lock is provided. The electronic lock is used to lock a charging gun to a charging dock. The electronic lock includes: a housing; a pair of detection terminals fixed to the inner side of the housing; a driving device disposed in the housing and having a drive shaft; a locking member disposed in the housing and connected to the drive shaft, capable of rotating between a locked position and an unlocked position under the drive of the drive shaft; and the aforementioned position detection module disposed in the housing, with its rotating component mounted on the drive shaft to rotate synchronously with the drive shaft and the locking member. When the locking member is rotated to the locked position, the moving contact is moved to one of the bridging position and the disconnected position; when the locking member is rotated to the unlocked position, the moving contact is moved to the other of the bridging position and the disconnected position.
[0042] According to another general technical concept of the present invention, a charging gun is provided. The charging gun includes: a housing; power terminals disposed in the housing for mating with mating terminals of a charging socket; and the aforementioned electronic lock mounted on the 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.
[0043] Figure 1 A perspective view of a position detection module 100 according to an exemplary embodiment of the present invention is shown, wherein the moving contact 3 is in a disconnected position where it does not bridge a pair of detection terminals 4; Figure 2 An exploded schematic diagram of a position detection module 100 according to an exemplary embodiment of the present invention is shown; Figure 3 Another exploded schematic diagram of a position detection module 100 according to an exemplary embodiment of the present invention is shown; Figure 4 A perspective view of a position detection module 100 according to an exemplary embodiment of the present invention is shown, wherein the moving contact 3 is in a bridging position bridging a pair of detection terminals 4; Figure 5 A cross-sectional view of a position detection module 100 according to an exemplary embodiment of the present invention is shown, wherein the moving contact 3 is in a bridging position bridging a pair of detection terminals 4; Figure 6 A perspective view of an electronic lock drive device 5, locking member 6 and position detection module 100 according to an exemplary embodiment of the present invention is shown, wherein the moving contact 3 is in the disconnected position without bridging a pair of detection terminals 4, and the locking member 6 is in the unlocked position. Figure 7 A perspective view of an electronic lock drive device 5, locking member 6 and position detection module 100 according to an exemplary embodiment of the present invention is shown, wherein the moving contact 3 is in a bridging position bridging a pair of detection terminals 4, and the locking member 6 is in a locked position. Figure 8 A perspective view showing an electronic lock drive device 5 and a position detection module 100 according to an exemplary embodiment of the present invention; Figure 9 A perspective view of an electronic lock according to an exemplary embodiment of the present invention is shown, wherein the bottom cover 9 is removed; Figure 10 An exploded view of an electronic lock according to an exemplary embodiment of the present invention is shown; Figure 11 A perspective view of an electronic lock according to an exemplary embodiment of the present invention is shown.
[0044] like Figures 1 to 11 As shown, in an exemplary embodiment of the present invention, a position detection module 100 is disclosed. This position detection module 100 is used to detect the position of the locking member 6 of the electronic lock of a charging gun. The position detection module 100 mainly includes: a rotating member 1, a moving member 2, and a moving contact 3. The rotating member 1 has a slide bar 10 offset from its axis of rotation. The moving member 2 has a groove 20 that slides with the slide bar 10. The moving contact 3 is fixed to the moving member 2. The rotating member 1 is adapted to rotate about its axis of rotation under the drive of the electronic lock's drive device 5. The rotational motion of the rotating member 1 can be converted into linear motion of the moving member 2 through the cooperating slide bar 10 and groove 20, thereby driving the moving contact 3 to move between a bridging position (bridging a pair of detection terminals 4 of the electronic lock) and a disconnected position (not bridging a pair of detection terminals 4).
[0045] like Figures 1 to 11As shown in the illustrated embodiment, the slide bar 10 is parallel to the rotation axis of the rotating member 1 and deviates from the rotation axis of the rotating member 1 by a predetermined distance, and the slide groove 20 extends a predetermined length in a direction perpendicular to the rotation axis of the rotating member 1.
[0046] like Figures 1 to 11 As shown in the illustrated embodiment, the moving contact 3 includes a fixed base plate 30 and a pair of contact springs 31. The fixed base plate 30 is fixed to the moving member 2. The pair of contact springs 31 are connected to the fixed base plate 30. The moving contact 3 can be a one-piece stamped part. When the moving contact 3 is in the bridging position, the pair of contact springs 31 are in electrical contact with a pair of detection terminals 4 respectively. When the moving contact 3 is in the open position, at least one of the pair of contact springs 31 is not in contact with the detection terminals 4.
[0047] like Figures 1 to 11 As shown in the illustrated embodiment, the movable member 2 is injection molded onto the fixed substrate 30 of the moving contact 3, making the movable member 2 and the moving contact 3 an integral part. However, the present invention is not limited to the illustrated embodiment. For example, in another exemplary embodiment of the present invention, the fixed substrate 30 of the moving contact 3 can be detachably assembled onto the movable member 2, so that the moving contact 3 can be replaced individually.
[0048] like Figures 1 to 11 As shown in the illustrated embodiment, the movable member 2 includes a block 22 and a insert plate 21. The block 22 is adapted to be movably mounted in a guide groove 82 within the housing 8 of the electronic lock, enabling linear movement along the guide groove 82. The insert plate 21 is connected to the block 22, and a slide groove 20 is formed on the insert plate 21. A slot 11 is formed on the rotating member 1, and a slide rod 10 is located in the slot 11, into which the insert plate 21 is movably inserted.
[0049] like Figures 1 to 11 As shown in the illustrated embodiment, a mounting hole 12 is formed on the rotating member 1 to allow the drive shaft 51 of the drive device 5 to pass through. The rotating member 1 is adapted to be mounted on the drive shaft 51 and can rotate with the drive shaft 51.
[0050] like Figures 1 to 11As shown, in another exemplary embodiment of the present invention, an electronic lock for locking a charging gun to a charging dock (not shown) is also disclosed. The electronic lock includes: a housing 8, a pair of detection terminals 4, a drive device 5, a locking member 6, and a position detection module 100. The pair of detection terminals 4 are fixed to the inside of the housing 8. The drive device 5 is disposed in the housing 8 and has a drive shaft 51. The locking member 6 is disposed in the housing 8 and connected to the drive shaft 51, and is capable of rotating between a locked position and an unlocked position under the drive of the drive shaft 51. The position detection module 100 is disposed in the housing 8, and its rotating member 1 is mounted on the drive shaft 51 to rotate synchronously with the drive shaft 51 and the locking member 6. When the locking member 6 is rotated to the locked position, the moving contact 3 is moved to one of a bridging position and a disconnected position; when the locking member 6 is rotated to the unlocked position, the moving contact 3 is moved to the other of the bridging position and the disconnected position.
[0051] like Figures 1 to 11 As shown in the illustrated embodiment, when the locking member 6 is rotated to the locked position, the moving contact 3 is moved to the bridging position. When the locking member 6 is rotated to the unlocked position, the moving contact 3 is moved to the disconnected position.
[0052] However, the present invention is not limited to the illustrated embodiments. For example, in another exemplary embodiment of the present invention, when the locking member 6 is rotated to the locked position, the moving contact 3 is moved to the disconnected position; when the locking member 6 is rotated to the unlocked position, the moving contact 3 is moved to the bridging position.
[0053] like Figures 1 to 11 As shown in the illustrated embodiment, a slot 83 is formed on the top wall of the housing 8, and the locking member 6 has a locking portion 61 located in the slot 83 of the housing 8. When the charging gun is inserted into the charging socket and the locking member 6 is rotated to the locked position, the locking portion 61 engages with the charging socket to lock the charging gun to the charging socket (not shown). When the charging gun is inserted into the charging socket and the locking member 6 is rotated to the unlocked position, the locking portion 61 disengages from the charging socket to allow the charging gun to be pulled out of the charging socket.
[0054] like Figures 1 to 11 As shown in the illustrated embodiment, a linearly extending guide groove 82 is formed inside the housing 8, and the block 22 of the movable member 2 is movably mounted in the guide groove 82 so as to be able to move linearly along the guide groove 82.
[0055] like Figures 1 to 11 As shown in the illustrated embodiment, the electronic lock further includes a pair of connection terminals 7. The pair of connection terminals 7 are fixed to the inside of the housing 8 and electrically connected to the drive unit 5 for electrically connecting the drive unit 5 to a power source.
[0056] like Figures 1 to 11As shown, in the illustrated embodiment, the housing 8 is injection molded onto a pair of detection terminals 4 and a pair of connection terminals 7, making the housing 8, the pair of detection terminals 4 and the pair of connection terminals 7 a single unit.
[0057] like Figures 1 to 11 As shown, in the illustrated embodiment, the detection terminal 4 has a contact end 41, which is embedded in the side wall 81 of the housing 8. The contact end 41 of the detection terminal 4 has a contact surface that protrudes from the side wall 81 of the housing 8 for electrical contact with the contact spring 31 of the moving contact 3.
[0058] like Figures 1 to 11 As shown, in the illustrated embodiment, the housing 8 has an interface portion 80 located on its exterior, the detection terminal 4 has a first pin 42 for electrical connection to the detection circuit, and the connection terminal 7 has a second pin 72 for electrical connection to the power supply. The first pin 42 and the second pin 72 extend into the interface portion 80 for electrical connection with a connector (not shown) inserted into the interface portion 80.
[0059] like Figures 1 to 11 As shown in the illustrated embodiment, the housing 8 has a pair of sidewalls 81 opposite each other in its transverse X direction, a pair of detection terminals 4 are fixed to the inside of one sidewall 81 of the housing 8, the guide groove 82 extends along the height direction Z of the housing 8, and the drive shaft 51 of the drive device 5 drives the rotating member 1 to rotate about a rotation axis parallel to the longitudinal Y direction of the housing 8.
[0060] like Figures 1 to 11 As shown in the illustrated embodiment, the drive device 5 is a servo motor, and the drive shaft 51 is the output shaft of the servo motor.
[0061] like Figures 1 to 11 As shown, in the illustrated embodiment, the housing 8 has a bottom opening. The drive unit 5, the position detection module, and the locking element 6 are installed into the housing 8 through the bottom opening. The electronic lock also includes a bottom cover 9, which is installed onto the bottom opening of the housing 8 to seal the bottom opening of the housing 8.
[0062] like Figures 1 to 11 As shown, in another exemplary embodiment of the present invention, a charging gun is also disclosed. The charging gun includes: a housing (not shown), power terminals (not shown), and an electronic lock. The power terminals are disposed in the housing for mating with mating terminals of a charging socket. The electronic lock is mounted on the housing. When the charging gun is inserted into the charging socket and the locking member 6 is rotated to the locked position, the locking member 6 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 6 is rotated to the unlocked position, the locking member 6 disengages from the charging socket to allow the charging gun to be removed from the charging socket.
[0063] 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 invention.
[0064] Although the invention has been described in conjunction with the accompanying drawings, the embodiments disclosed in the drawings are intended to illustrate preferred embodiments of the invention and should not be construed as limiting the invention.
[0065] While some embodiments of the general concept of the invention 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 the invention, the scope of which is defined by the claims and their equivalents.
[0066] 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 the invention.
Claims
1. A position detection module for detecting the position of the locking element of an electronic lock on a charging gun, characterized in that, The position detection module includes: Rotating component (1) has a slide rod (10) that is offset from its axis of rotation; The movable part (2) has a groove (20) that slides in conjunction with the slide bar (10); and The moving contact (3) is fixed to the moving part (2). The rotating member (1) is adapted to rotate about the rotation axis under the drive of the electronic lock drive device (5). The rotational motion of the rotating member (1) can be converted into the linear motion of the moving member (2) by the mutually cooperating slide rod (10) and slide groove (20) to drive the moving contact (3) to move between the bridging position of the pair of detection terminals (4) of the electronic lock and the disconnected position of the pair of detection terminals (4) not bridging.
2. The position detection module according to claim 1, characterized in that: The slide bar (10) is parallel to the rotation axis of the rotating member (1) and deviates from the rotation axis of the rotating member (1) by a predetermined distance, and the slide groove (20) extends a predetermined length in a direction perpendicular to the rotation axis of the rotating member (1).
3. The position detection module according to claim 2, characterized in that: The moving contact (3) includes: Fixed base plate (30), fixed to the movable member (2); and A pair of contact springs (31) are connected to the fixed base plate (30). When the moving contact (3) is in the bridging position, the pair of contact springs (31) and the pair of detection terminals (4) are in electrical contact respectively; When the moving contact (3) is in the disconnected position, at least one of the pair of contact springs (31) is not in contact with the detection terminal (4).
4. The position detection module according to claim 3, characterized in that: The movable component (2) is injection molded onto the fixed substrate (30) of the moving contact (3), so that the movable component (2) and the moving contact (3) become a single unit.
5. The position detection module according to claim 3, characterized in that: The fixed base plate (30) of the moving contact (3) is detachably assembled onto the moving part (2), so that the moving contact (3) can be replaced individually.
6. The position detection module according to claim 2, characterized in that: The movable component (2) includes: A block (22) adapted to be movably mounted into a guide groove (82) within the housing (8) of the electronic lock, so as to be able to move linearly along the guide groove (82); and An insert plate (21) is connected to the block (22), and the groove (20) is formed on the insert plate (21). A slot (11) is formed on the rotating member (1), the slide rod (10) is located in the slot (11), and the insert plate (21) is movably inserted into the slot (11).
7. The position detection module according to any one of claims 1-6, characterized in that: A mounting hole (12) is formed on the rotating member (1) to allow the drive shaft (51) of the drive device (5) to pass through. The rotating member (1) is adapted to be mounted on the drive shaft (51) and can rotate with the drive shaft (51).
8. An electronic lock for locking a charging gun to a charging dock, characterized in that, The electronic lock includes: Box (8); A pair of detection terminals (4) are fixed to the inside of the housing (8); A drive unit (5) is disposed in the housing (8) and has a drive shaft (51); A locking element (6), disposed in the housing (8) and connected to the drive shaft (51), is capable of rotating between a locked position and an unlocked position under the drive of the drive shaft (51); and The position detection module (100) according to any one of claims 1-7 is disposed in the housing (8) and its rotating component (1) is mounted on the drive shaft (51) to rotate synchronously with the drive shaft (51) and the locking component (6). When the locking member (6) is rotated to the locking position, the moving contact (3) is moved to one of the bridging position and the disconnecting position; When the locking member (6) is rotated to the unlocked position, the moving contact (3) is moved to the other of the bridging position and the disconnected position.
9. The electronic lock according to claim 8, characterized in that: When the locking member (6) is rotated to the locking position, the moving contact (3) is moved to the bridging position; When the locking member (6) is rotated to the unlocked position, the moving contact (3) is moved to the disconnected position.
10. The electronic lock according to claim 8, characterized in that: When the locking member (6) is rotated to the locking position, the moving contact (3) is moved to the disconnect position; When the locking member (6) is rotated to the unlocked position, the moving contact (3) is moved to the bridging position.
11. The electronic lock according to claim 8, characterized in that: A slot (83) is formed on the top wall of the box (8), and the locking member (6) has a locking part (61) located in the slot (83) of the box (8); When the charging gun is inserted into the charging socket and the locking member (6) is rotated to the locked position, the locking part (61) 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 (6) is rotated to the unlocked position, the locking part (61) separates from the charging socket to allow the charging gun to be pulled out of the charging socket.
12. The electronic lock according to claim 8, characterized in that: A linearly extending guide groove (82) is formed inside the housing (8), and the block (22) of the moving member (2) is movably mounted in the guide groove (82) so as to be able to move linearly along the guide groove (82).
13. The electronic lock according to claim 8, characterized in that, Also includes: A pair of connecting terminals (7) are fixed to the inside of the housing (8) and electrically connected to the drive device (5) for electrically connecting the drive device (5) to a power source.
14. The electronic lock according to claim 13, characterized in that: The housing (8) is injection molded onto the pair of detection terminals (4) and the pair of connection terminals (7), so that the housing (8), the pair of detection terminals (4) and the pair of connection terminals (7) become a single piece.
15. The electronic lock according to claim 14, characterized in that: The detection terminal (4) has a contact end (41), which is embedded in the side wall (81) of the housing (8). The contact end (41) of the detection terminal (4) has a contact surface that protrudes from the side wall (81) of the housing (8) for electrical contact with the contact spring (31) of the moving contact (3).
16. The electronic lock according to claim 13, characterized in that: The housing (8) has an interface portion (80) located on its exterior. The detection terminal (4) has a first pin (42) for electrical connection to the detection circuit. The connection terminal (7) has a second pin (72) for electrical connection to the power supply. The first pin (42) and the second pin (72) extend into the interface portion (80) for electrical connection with a connector inserted into the interface portion (80).
17. The electronic lock according to claim 12, characterized in that: The housing (8) has a pair of sidewalls (81) opposite each other in its transverse (X) direction, the pair of detection terminals (4) are fixed to the inside of one sidewall (81) of the housing (8), the guide groove (82) extends along the height direction (Z) of the housing (8), and the drive shaft (51) of the drive device (5) drives the rotating member (1) to rotate about a rotation axis parallel to the longitudinal (Y) direction of the housing (8).
18. The electronic lock according to claim 8, characterized in that: The driving device (5) is a servo motor, and the driving shaft (51) is the output shaft of the servo motor.
19. The electronic lock according to claim 8, characterized in that: The housing (8) has a bottom opening, and the driving device (5), the position detection module and the locking member (6) are installed into the housing (8) through the bottom opening; The electronic lock also includes a bottom cover (9), which is installed on the bottom opening of the box (8) to cover the bottom opening of the box (8).
20. A charging gun, characterized in that, include: case; A power terminal is disposed in the housing for mating with the mating terminal of the charging dock; and The electronic lock according to any one of claims 8-19 is installed on the housing. When the charging gun is inserted into the charging socket and the locking member (6) is rotated to the locked position, the locking member (6) 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 (6) is rotated to the unlocked position, the locking member (6) separates from the charging socket to allow the charging gun to be pulled out of the charging socket.