Locking device and electric automobile

By using metal switches and terminals in the electric vehicle locking device, combined with threaded rods and gear sets to drive the locking rod, the problems of large size of microswitches and high cost of printed circuit boards are solved, achieving the effects of easy assembly, durability and low cost of the locking device.

CN223911974UActive Publication Date: 2026-02-13TYCO ELECTRONICS TECHNOLOGY (SIP) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202520033988.5
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-01-06
Publication Date
2026-02-13
Estimated Expiration
2035-01-06

AI Technical Summary

Technical Problem

Existing electric vehicle locking devices use microswitches that are large, space-consuming, and have a limited lifespan, leading to increased design difficulty and high maintenance costs. Printed circuit boards are also expensive and difficult to assemble, making it difficult to meet practical needs.

Method used

The switch, first terminal, and second terminal are made of metal. The electrical connection is controlled by the movement of the switch, which simplifies the structure and reduces costs. The locking function is achieved by using a threaded rod and gear set to drive the locking rod, avoiding the use of bulky microswitches.

Benefits of technology

This design achieves a simple, durable, and easy-to-assemble locking device, reducing design and maintenance costs, saving internal space, and improving the reliability of the locking device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223911974U_ABST
    Figure CN223911974U_ABST
Patent Text Reader

Abstract

The utility model discloses a locking device and an electric automobile comprising the locking device. The locking device includes a housing having a front end wall, a rear end wall, and a side wall extending between the front end wall and the rear end wall; the driving assembly is arranged in the shell; the lock rod is configured to extend out of the shell from the front end wall under the driving of the driving assembly so as to realize a locking function; the first terminal is provided with a first front end fixed near the front end wall, a first rear end fixed on the rear end wall, and a first main body extending between the first front end and the first rear end and fixed on the side wall; a second terminal spaced apart from the first terminal, having a second front end fixed near the front end wall, a second rear end fixed on the rear end wall, and a second body extending between the second front end and the second rear end and fixed on the sidewall; and the switch piece is configured to move to a conduction position which is in contact with the first front end and the second front end at the same time when the locking function is realized under the driving of the driving assembly.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The utility model relates to mechanical electron field, more have related to a locking device and electric automobile. BACKGROUND

[0002] Locking device is usually used in electric automobile to lock the charging gun that is charging the electric automobile. After locking device locks the charging gun, locking device sends feedback signal to controller through feedback loop in locking device to inform controller that the charging gun has been locked. Micro switch is usually used in feedback loop to realize the turn-on and turn-off of feedback loop, however, the volume of micro switch is large, which occupies large internal space in locking device, increases the design difficulty of locking device, and the service life of micro switch is limited, which leads to frequent replacement of micro switch and increases maintenance cost. In order to solve the problem, the industry proposes to use printed circuit board (PCB) instead of micro switch, however, the cost of printed circuit board is high, and it is also difficult to assemble in locking device, which leads to that printed circuit board is difficult to meet the practical demand.

[0003] Therefore, it is necessary to provide a locking device comprising a switch structure which is easy to assemble, low in cost, simple in structure and durable. SUMMARY

[0004] Embodiments of the utility model aim to solve at least one aspect of the above problems.

[0005] According to one aspect of the utility model, a locking device is provided, comprising: a housing having a front end wall, a rear end wall, and a side wall extending between the front end wall and the rear end wall; a drive assembly disposed within the housing; a locking rod configured to extend out of the housing from the front end wall under drive of the drive assembly to realize a locking function; a first terminal having a first front end fixed near the front end wall, a first rear end fixed on the rear end wall, and a first main body extending between the first front end and the first rear end and fixed on the side wall; a second terminal spaced apart from the first terminal, having a second front end fixed near the front end wall, a second rear end fixed on the rear end wall, and a second main body extending between the second front end and the second rear end and fixed on the side wall; and a switch piece configured to move to a turn-on position of simultaneously contacting the first front end and the second front end under drive of the drive assembly when realizing the locking function.

[0006] According to one aspect of the utility model, the first front end is provided with a first arm extending out of the first main body to extend in a plane perpendicular to the side wall; and the second front end is provided with a second arm extending out of the second main body to be coplanar with the first arm.

[0007] According to one aspect of the present application, the first arm comprises: a first front arm extending perpendicularly from the first main body to the side wall and close to the front end wall, a first rear arm extending perpendicularly from the first main body to the side wall and away from the front end wall, and a first contact arm connected perpendicularly between the first front arm and the first rear arm; and the second arm comprises: a second connecting arm extending from the second main body and bending into an arc shape towards a direction away from the driving assembly, and a second contact arm extending from the second connecting arm parallel to the first contact arm towards the first front arm and coplanar with the first arm.

[0008] According to one aspect of the present application, the second contact arm is located between the first front arm and the first rear arm, close to the first front arm and away from the first rear arm, and the length of the second contact arm is less than that of the first contact arm.

[0009] According to one aspect of the present application, the housing is provided with a fixing member protruding from the side wall, and the fixing member is provided on the bottom surface thereof with: a first bottom groove configured to cooperate with the first arm to fix the first arm on the fixing member; and a second bottom groove configured to cooperate with the second arm to fix the second arm on the fixing member.

[0010] According to one aspect of the present application, the switch member comprises: a switch main body configured to be plate-shaped and having a front side facing the front end wall and a back side facing the back end wall; and first and second elastic arms respectively extending obliquely upward from the front side to the back side towards the bottom surface of the fixing member, such that the first elastic arm moves against the first contact arm and the second elastic arm moves against the bottom surface when the switch member moves; and the switch member is configured such that when moved to the on position, the first elastic arm contacts the first contact arm and the second elastic arm contacts the second contact arm.

[0011] According to one aspect of the present application, the driving assembly comprises: a motor provided with a rotatable threaded rod; a gear set engaged with the threaded rod and driven to rotate by the threaded rod; and a carrier comprising: a first carrier portion extending in a longitudinal direction and provided with engagement teeth engaged with the gear set to be driven to move; and a second carrier portion extending upward in a vertical direction from the first carrier portion, wherein the locking rod is fixed on a front surface of the second carrier portion facing the front end wall in the longitudinal direction, and the switch member is fixed on a top end of the second carrier portion facing the bottom surface of the fixing member, such that when the switch member moves to the on position, the front surface of the second carrier portion abuts against the front end wall.

[0012] According to one aspect of the utility model, the top of second bearing part is provided with: end surface;First limit wall, second limit wall and third limit wall are surrounded " N " shape along the circumference of end surface, first limit wall and second limit wall are opposite to each other, third limit wall is connected between first limit wall and second limit wall;First clamping part, from first limit wall and with end surface apart;Second clamping part, opposite to first clamping part, from second limit wall and with end surface apart;Recess, set up on end surface and between first clamping part and second clamping part;Projection, on end surface, from third limit wall and with recess alignment.

[0013] According to one aspect of the utility model, the switch body is provided with: a stopper extending obliquely downward from the switch body to abut into the recess; and an opening located at the rear side of the switch body to be buckled with the projection; wherein, the two sides of the switch body are clamped between the first clamping part and the end surface, and between the second clamping part and the end surface, respectively.

[0014] According to one aspect of the utility model, the first rear end includes: a first transverse bend curved on the rear end wall from the first body in a transverse direction, a first vertical bend curved downward on the rear end wall from the first transverse bend in a vertical direction, and a first longitudinal bend curved outward from the second vertical bend in a longitudinal direction towards the shell; and the second rear end includes: a second transverse bend curved on the rear end wall from the second body in a transverse direction, and a second longitudinal bend curved outward from the second transverse bend in a longitudinal direction to be coplanar with the first longitudinal bend.

[0015] According to one aspect of the utility model, the side wall is provided with: a first side groove configured to cooperate with the shape of the first body to fix the first body on the side wall; and a second side groove configured to cooperate with the shape of the second body to fix the second body on the side wall.

[0016] According to one aspect of the utility model, the first side groove is provided with a plurality of first tenons distributed along the extension direction of the first side groove, and the first body is provided with a plurality of first through holes distributed along the extension direction of the first body and cooperating with the shape of the plurality of first tenons to fix the first body in the first side groove; and the second side groove is provided with a plurality of second tenons distributed along the extension direction of the second side groove, and the second body is provided with a plurality of second through holes distributed along the extension direction of the second body and cooperating with the shape of the plurality of second tenons to fix the second body in the second side groove.

[0017] According to one aspect of the utility model, the second body includes: a front end section, the second front end is provided on one end of the front end section; a rear end section, the second rear end is provided on one end of the rear end section; and a resistor connected between the other end of the front end section and the other end of the rear end section.

[0018] According to one aspect of the present application, the front end section is provided with two clamping fingers at the other end thereof to clamp the lead wire extending from one side of the resistor, and the rear end section is provided with another two clamping fingers at the other end thereof to clamp the lead wire extending from the other side of the resistor.

[0019] According to another aspect of the present application, there is further provided an electric vehicle comprising the locking device according to any one of the above aspects. BRIEF DESCRIPTION OF DRAWINGS

[0020] The features of the present application will become more apparent in the following detailed description in conjunction with the accompanying drawings in which like numerals designate like elements throughout the several views. In the drawings, like reference numbers generally indicate identical, functionally similar, and / or structurally similar elements. The drawing in which the drawing was provided should not be interpreted as being drawn to scale unless specifically noted.

[0021] Figure 1 is a perspective view of a locking device according to an embodiment of the present application;

[0022] Figure 2 is a perspective view of the locking device in Figure 1 after the cover is removed;

[0023] Figure 3 is a perspective view of the locking device in Figure 2 after the carrier is removed, showing the switch member in an on position;

[0024] Figure 4 is a perspective view of the locking device in Figure 3 after some gears in the gear set are removed, showing the switch member moved away from the on position;

[0025] Figure 5 is a perspective view of the carrier provided with the switch member shown alone, installed in the locking device in Figure 1 ;

[0026] Figure 6 is a perspective view of the carrier in Figure 5 after the switch member is removed, showing the top end of the second carrier portion;

[0027] Figure 7 is a perspective view of the switch member alone in Figure 5 ;

[0028] Figure 8 is a perspective view of the combination of the carrier, the first terminal, and the second terminal shown alone, installed in the locking device in Figure 1 ;

[0029] Figure 9 is a perspective view showing a combination of the first terminal and the second terminal according to another embodiment of the present application;

[0030] Figure 10 is a perspective view showing the locking device in Figure 2 , with the driving assembly removed, showing the rear end wall; and

[0031] Figure 11 is a perspective view showing the locking device in Figure 1 , showing the first bottom groove, the second bottom groove, and the first side groove. DETAILED DESCRIPTION

[0032] In order to make the objects, technical solutions, and advantages of the present application clearer, the following will further describe the present application in detail with reference to the embodiments and the accompanying drawings.

[0033] It should be understood, however, that the description is merely exemplary and is not intended to limit the scope of the present application. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that one or more embodiments of the present application can be practiced without these specific details. In other instances, well-known methods, procedures, components, and networks have not been described in detail since it is understood that such descriptions are intended merely to further elucidate the present application.

[0034] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the present application. As used herein, the term "includes" indicates the presence of the features, steps, operations, but does not exclude the presence or addition of one or more other features.

[0035] In the case of using expressions similar to "at least one of A, B, and C, etc.", it is generally understood that the expression is intended to include one or more of the relevant items (e.g., "a system having at least one of A, B, and C" should include a system having A alone, a system having B alone, a system having C alone, a system having both A and B, a system having both A and C, a system having both B and C, and / or a system having A, B, and C, etc.).

[0036] Referring to Figures 1 to 11 , the present application discloses a locking device 1000 and an electric vehicle (not shown in the drawings) including the same.

[0037] The locking device 1000 includes a housing 100, a driving assembly 210, 220, 230, 240, 250, a lock rod 300, a first terminal 410, a second terminal 420, and a switch member 500.

[0038] The shell 100 has a front end wall 110, a rear end wall 120, and a side wall 130 extending between the front end wall 110 and the rear end wall 120. A cover 160 covers the shell 100 (see Figure 1 The drive assembly 210, 220, 230, 240, 250 is arranged in the shell 100. The lock rod 300 is configured to extend out of the shell 100 from the front end wall 110 under the drive of the drive assembly 210, 220, 230, 240, 250 to realize a locking function, so as to lock a charging gun (not shown in the figure) into a charging port (not shown in the figure).

[0039] The first terminal 410 has a first front end 411 fixed near the front end wall 110, a first rear end 412 fixed on the rear end wall 120, and a first main body 413 extending between the first front end 411 and the first rear end 412 and fixed on the side wall 130. The second terminal 420 is spaced apart from the first terminal 410, has a second front end 421 fixed near the front end wall 110, a second rear end 422 fixed on the rear end wall 120, and a second main body 423 extending between the second front end 421 and the second rear end 422 and fixed on the side wall 130. The switch piece 500 is configured to be moved to a conduction position (see Figure 3 ) of simultaneously contacting the first front end 411 and the second front end 421 when realizing the locking function and to a disconnection position (see Figure 4 ) of not simultaneously contacting the first front end 411 and the second front end 421 when realizing the unlocking function under the drive of the drive assembly 210, 220, 230, 240, 250. At the conduction position, the switch piece 500 electrically connects the first front end 411 and the second front end 421, so that a feedback loop (not shown in the figure) is turned on and sends a feedback signal to a controller (not shown in the figure) to inform the controller that the charging gun has been locked. At the disconnection position, the switch piece 500 does not electrically connect the first front end 411 and the second front end 421, so that the feedback loop is disconnected and cannot send a feedback signal to the controller.

[0040] The utility model discloses by the switch piece 500, the first terminal 410 and the second terminal 420 made of metal are installed in the shell 100 (as described in further detail below) and the electrical connection between the first terminal 410 and the second terminal 420 is controlled through the movement of the switch piece 500, simplify the structure of the locking device 1000, and because the switch piece 500, the first terminal 410 and the second terminal 420 are all components made of metal, the structure is simple and firm and durable, can effectively replace the PCB, thereby reducing the cost of the locking device 1000, facilitating the assembly of the locking device 1000, and making the locking device 1000 more durable.

[0041] Referring to Figure 8 and 9, the first front end 411 is provided with a first arm 414 extending from the first body 413 in a plane perpendicular to the side wall 130. The second front end 421 is provided with a second arm 424 extending from the second body 423 coplanar with the first arm 414. The first arm 414 comprises a first front arm 4141 extending from the first body 413 perpendicular to the side wall 130 and close to the front end wall 110, a first rear arm 4142 extending from the first body 413 perpendicular to the side wall 130 and away from the front end wall 110, and a first contact arm 4143 connecting between the first front arm 4141 and the first rear arm 4142 perpendicularly to the first front arm 4141 and the first rear arm 4142. The second arm 424 comprises a second connecting arm 4241 extending from the second body 423 and bending into an arc shape towards a direction away from the driving assemblies 210, 220, 230, 240, 250, and a second contact arm 4242 extending from the second connecting arm 4241 parallel to the first contact arm 4143 towards the first front arm 4141 and coplanar with the first arm 414 (see Figure 9 ). Referring to Figure 9 , the second contact arm 4242 is located between the first front arm 4141 and the first rear arm 4142, close to the first front arm 4141 and away from the first rear arm 4142, and the length of the second contact arm 4242 is less than that of the first contact arm 4143.

[0042] Continuing to refer to Figure 8 and 9 , the first rear end 412 comprises a first transverse bend 4121 bending from the first body 413 on the rear end wall 120 in a transverse direction D3, a first vertical bend 4122 bending from the first transverse bend 4121 on the rear end wall 120 in a vertical direction D2 downwards, and a first longitudinal bend 4123 bending from the second vertical bend in a longitudinal direction D1 outwards of the housing 100. The second rear end 422 comprises a second transverse bend 4221 bending from the second body 423 on the rear end wall 120 in the transverse direction D3, and a second longitudinal bend 4222 bending from the second transverse bend 4221 in the longitudinal direction D1 outwards of the housing 100 coplanar with the first longitudinal bend 4123.

[0043] The side wall 130 is provided with a first side slot (not shown in the figures) and a second side slot 132. The first side slot is configured to be shaped-fitted with the first body 413 to fix the first body 413 on the side wall 130. The second side slot 132 (see Figure 11 ) is configured to be shaped-fitted with the second body 423 to fix the second body 423 on the side wall 130.

[0044] Referring to Figures 8 to 11The first side slot is provided with a plurality of first protrusions 1311 distributed along the extension direction of the first side slot, and the first main body 413 is provided with a plurality of first through holes 4131 distributed along the extension direction of the first main body 413 and matched with the plurality of first protrusions 1311 in shape, so as to fix the first main body 413 in the first side slot. The second side slot 132 is provided with a plurality of second protrusions 1321 distributed along the extension direction of the second side slot 132, and the second main body 423 is provided with a plurality of second through holes 4231 distributed along the extension direction of the second main body 423 and matched with the plurality of second protrusions 1321 in shape, so as to fix the second main body 423 in the second side slot 132. By arranging the first side slot and the second side slot 132 on the side wall 130 to respectively mount the first main body 413 of the first terminal 410 and the second main body 423 of the second terminal 420, the micro switch with large volume is avoided to be arranged in the locking device 1000, the problems of occupying large internal space in the locking device 1000 and frequently replacing the micro switch are solved, and the space in the shell 100 is saved, and thus the design difficulty of the locking device 1000 is reduced.

[0045] Referring to Figure 9 In another embodiment according to the present application, the second main body 423 comprises a front end section 4232, a rear end section 4233 and a resistor 4234. The second front end 421 is arranged on one end of the front end section 4232. The second rear end 422 is arranged on one end of the rear end section 4233. The resistor 4234 is connected between the other end of the front end section 4232 and the other end of the rear end section 4233. The front end section 4232 is provided with two clamping fingers 42321 at the other end thereof to clamp the lead wire 42341 extending from one side of the resistor 4234. The rear end section 4233 is provided with another two clamping fingers 42331 at the other end thereof to clamp the lead wire 42342 extending from the other side of the resistor 4234. The value of the resistor 4234 can be set according to requirements. However, it should be understood by those skilled in the art that the present application is not limited thereto, and the resistor 4234 can be replaced by any suitable electronic element according to actual requirements to achieve the desired electrical performance.

[0046] Referring to Figure 2 , 4, 10 and 11, the housing 100 is provided with a fixing member 140 protruding from the side wall 130, the fixing member 140 is provided with a first bottom groove 141 and a second bottom groove 142 on its bottom surface. The first bottom groove 141 is configured to cooperate with the first arm 414 to fix the first arm 414 on the fixing member 140. The second bottom groove 142 is configured to cooperate with the second arm 424 to fix the second arm 424 on the fixing member 140. This arrangement of the fixing member 140 makes the electrical connection of the first arm 414 and the second arm 424 to the switch member 500 more stable.

[0047] Referring to Figure 7 , the switch member 500 includes a switch body 510, a first elastic arm 520 and a second elastic arm 530. The switch body 510 is configured to be plate-shaped and has a front side 511 facing the front end wall 110 and a back side 512 facing the back end wall 120. The first elastic arm 520 and the second elastic arm 530 extend obliquely upward from the front side 511 to the back side 512 towards the bottom surface of the fixing member 140 (see Figure 3 and 4 ), so that the first elastic arm 520 moves against the first contact arm 4143 and the second elastic arm 530 moves against the bottom surface when the switch member 500 moves. The switch member 500 is configured such that when moved to the on position, the first elastic arm 520 contacts the first contact arm 4143 and the second elastic arm 530 contacts the second contact arm 4242.

[0048] Referring to Figure 2 , 3 and 4, the drive assembly 210, 220, 230, 240, 250 includes a motor 210, a gear set 220, 230, 240, and a carrier 250. The motor 210 is provided with a rotatable threaded rod 211. The gear set 220, 230, 240 is engaged with and driven to rotate by the threaded rod 211. The carrier 250 includes a first carrier portion 251 extending in the longitudinal direction D1 and provided with engagement teeth 2511 engaged with the gear set 220, 230, 240 to be driven to move, and a second carrier portion 252 extending upward in the vertical direction D2 from the first carrier portion 251, wherein the lock rod 300 is fixed on the front surface of the second carrier portion 252 facing the front end wall 110 in the longitudinal direction D1, and the switch member 500 is fixed on the top end of the second carrier portion 252 facing the bottom surface of the fixing member 140, so that when the switch member 500 moves to the on position, the front surface of the second carrier portion 252 abuts against the front end wall 110 to prevent the carrier 250 and the switch member 500 located thereon from further moving forward. Referring to Figure 2 , 3And 4, the gear set 220, 230, 240 includes the first gear 220 engaged with the threaded rod 211, the second gear 230 engaged with the first gear 220, and the third gear 240 engaged with the second gear 230 and the first bearing part 251.

[0049] Referring to Figure 5 、 6 And 8, the top end of the second bearing part 252 is provided with: an end face 2521; a first limiting wall 2522, a second limiting wall 2523 and a third limiting wall 2524 which are circumferentially formed in a "Y" shape along the end face 2521, the first limiting wall 2522 and the second limiting wall 2523 are opposite to each other, and the third limiting wall 2524 is connected between the first limiting wall 2522 and the second limiting wall 2523; a first clamping part 2525 extending from the first limiting wall 2522 and spaced from the end face 2521; a second clamping part 2526 opposite to the first clamping part 2525, extending from the second limiting wall 2523 and spaced from the end face 2521; a recess 2527 provided on the end face 2521 and located between the first clamping part 2525 and the second clamping part 2526; a protrusion 2528 located on the end face 2521, extending from the third limiting wall 2524 and aligned with the recess 2527.

[0050] Referring back to Figure 7 The switch body 510 is provided with: a stopper 513 and an opening 514. The stopper 513 extends obliquely downward from the switch body 510 to abut into the recess 2527. The opening 514 is located on the rear side 512 of the switch body 510 to be snap-connected with the protrusion 2528. The two side edges 515, 516 of the switch body 510 are clamped between the first clamping part 2525 and the end face 2521 and between the second clamping part 2526 and the end face 2521, respectively. The stopper 513, the opening 514, the side edges 515, 516 fix the switch body 510 on the top end of the second bearing part 252.

[0051] The above-mentioned various components included in the locking device 1000 in the utility model can be installed together through the assembling mode, without welding, wiring and other processes, greatly simplifying the structure and use of the locking device 1000, and also being beneficial to reducing the manufacturing cost of the locking device 1000.

[0052] Up to now, the utility model embodiments have been described in detail in combination with the drawings. It should be noted that the implementation modes not shown or described in the drawings or the specification are forms known by those skilled in the art, and are not described in detail. In addition, the definition of each component described above is not limited to the various specific structures, shapes or modes mentioned in the embodiments, and those skilled in the art can make simple changes or replacements.

[0053] It is understood by those skilled in the art that the features recited in various embodiments of the present application and / or claims can be combined or / and integrated in various combinations, even if such combinations are not explicitly recited in the present application. In particular, the features recited in various embodiments of the present application and / or claims can be combined and / or integrated in various combinations without departing from the spirit and teachings of the present application. All these combinations and / or integrations fall within the scope of the present application.

Claims

1. A locking device, characterized in that comprising: a housing having a front end wall, a rear end wall, and a side wall extending between the front end wall and the rear end wall; a drive assembly disposed within the housing; a lock lever configured to protrude out of the housing from the front end wall under driving of the drive assembly to implement a locking function; a first terminal having a first front end fixed near the front end wall, a first rear end fixed on the rear end wall, and a first body extending between the first front end and the first rear end and fixed on the side wall; a second terminal spaced apart from the first terminal, having a second front end fixed near the front end wall, a second rear end fixed on the rear end wall, and a second body extending between the second front end and the second rear end and fixed on the side wall; and a switch piece configured to move to an on position in which the first front end and the second front end are simultaneously contacted when the locking function is implemented under driving of the drive assembly.

2. The locking device according to claim 1, wherein the first front end is provided with a first arm protruding from the first body to extend in a plane perpendicular to the side wall; and the second front end is provided with a second arm protruding from the second body to be coplanar with the first arm.

3. The locking device according to claim 2, wherein the first arm includes a first front arm protruding from the first body perpendicular to the side wall and close to the front end wall, a first rear arm protruding from the first body perpendicular to the side wall and away from the front end wall, and a first contact arm connected between the first front arm and the first rear arm perpendicular to the first front arm and the first rear arm; and the second arm includes a second connecting arm protruding from the second body and curved into an arc shape toward a direction away from the drive assembly, and a second contact arm extending from the second connecting arm parallel to the first contact arm toward the first front arm and coplanar with the first arm.

4. The locking device according to claim 3, wherein the second contact arm is located between the first front arm and the first rear arm, close to the first front arm and away from the first rear arm, and the length of the second contact arm is smaller than that of the first contact arm.

5. The locking device according to claim 4, wherein the housing is provided with a fixing piece protruding from the side wall, the fixing piece being provided on a bottom surface thereof with: a first bottom groove configured to cooperate with the first arm to fix the first arm on the fixing piece; and a second bottom groove configured to cooperate with the second arm to fix the second arm on the fixing piece. the switch piece includes: a switch body configured to be plate-shaped and having a front side facing the front end wall and a rear side facing the rear end wall; and a first elastic arm and a second elastic arm respectively extending obliquely upward from the front side to the rear side toward the bottom surface of the fixing piece, such that the first elastic arm moves against the first contact arm and the second elastic arm moves against the bottom surface when the switch piece moves; 6. The locking device of claim 5, wherein, the switch piece is configured such that the first elastic arm contacts the first contact arm and the second elastic arm contacts the second contact arm when moving to the on position. the drive assembly includes: a motor provided with a rotatable threaded rod; a gear set engaged with the threaded rod and driven to rotate by the threaded rod; and 7. The locking device of claim 6, wherein, a lever configured to be rotatable and provided with a first end fixed on the gear set and a second end fixed on the lock lever. ​ ​ The carrier includes a first carrier portion extending in a longitudinal direction and provided with engagement teeth to be engaged with a gear set to be driven to move, and a second carrier portion extending upward in a vertical direction from the first carrier portion, wherein the lock rod is fixed on a front surface of the second carrier portion facing the front end wall in the longitudinal direction, and the switch member is fixed on a top end of a bottom surface of the second carrier portion facing the fixing member, such that when the switch member moves to the on position, the front surface of the second carrier portion abuts against the front end wall.

8. The locking device of claim 7, wherein, The top end of the second carrier portion is provided with: an end surface; a first limiting wall, a second limiting wall and a third limiting wall surrounding the end surface in a "U" shape, the first limiting wall and the second limiting wall are opposite to each other, and the third limiting wall is connected between the first limiting wall and the second limiting wall; a first clamping portion protruding from the first limiting wall and spaced apart from the end surface; a second clamping portion opposite to the first clamping portion, protruding from the second limiting wall and spaced apart from the end surface; a recess provided on the end surface and located between the first clamping portion and the second clamping portion; a protrusion located on the end surface, protruding from the third limiting wall and aligned with the recess.

9. The locking device of claim 8, wherein, The switch body is provided with: a stopper extending obliquely downward from the switch body to abut into the recess; and an opening located on the rear side of the switch body to be buckled with the protrusion; wherein the two side edges of the switch body are clamped between the first clamping portion and the end surface, and between the second clamping portion and the end surface, respectively.

10. The locking device according to any one of claims 1 to 9, wherein the first rear end includes a first transverse bend bent in a transverse direction on the rear end wall from the first body, a first vertical bend bent in a vertical direction downward on the rear end wall from the first transverse bend, and a first longitudinal bend bent in a longitudinal direction outward from the second vertical bend toward the housing; and the second rear end includes a second transverse bend bent in a transverse direction on the rear end wall from the second body, and a second longitudinal bend bent in a longitudinal direction outward from the second transverse bend to be coplanar with the first longitudinal bend. The side wall is provided with:

11. The locking device of claim 10, wherein, a first side slot configured to be shape-fitted with the first body to fix the first body on the side wall; and a second side slot configured to be shape-fitted with the second body to fix the second body on the side wall.

12. The locking device according to claim 11, wherein the first side slot is provided therein with a plurality of first protrusions distributed in an extension direction of the first side slot, and the first body is provided therein with a plurality of first through holes distributed in an extension direction of the first body and shape-fitted with the plurality of first protrusions to fix the first body in the first side slot; and the second side slot is provided therein with a plurality of second protrusions distributed in an extension direction of the second side slot, and the second body is provided therein with a plurality of second through holes distributed in an extension direction of the second body and shape-fitted with the plurality of second protrusions to fix the second body in the second side slot. The second body includes: a front end section, the second front end being provided on one end of the front end section; a rear end section, the second rear end being provided on one end of the rear end section; and 13. The locking device of any one of claims 1 to 9 and 11 to 12, wherein, a resistor connected between the other end of the front end section and the other end of the rear end section. ​ ​ ​ 14. The locking device according to claim 13, characterized in that the front end section is provided at its other end with two clamping fingers to clamp the leads extending from one side of the resistor; and the rear end section is provided at its other end with two further clamping fingers to clamp the leads extending from the other side of the resistor.

15. An electric vehicle, characterized by A locking device according to any one of claims 1 to 14.