Diagnostic method of power transmission gun lock, power transmission gun lock system and new energy vehicle

By alternately performing gun lock status detection and motor drive detection, the problem that the transmission gun lock cannot take into account both motor drive diagnosis and state detection is solved, and the motor drive signal is decoupled from the state detection signal is realized, ensuring the safety and reliability of the equipment .

CN119266640APending Publication Date: 2025-01-07UNITED AUTOMOTIVE ELECTRONICS SYST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411351366.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

The existing transmission gun lock cannot take into account both motor drive diagnosis and gun lock status detection, resulting in the inability to monitor and diagnose motor drive failures in real time, which may cause safety accidents.

Method used

After the locking state of the transmission gun lock is changed, the gun lock state detection step and the motor drive detection step are performed alternately, and the lock signal and the motor drive state are detected by using the connection level command and the suspended command respectively, and the motor drive signal and state detection are decoupled. Signal, realizing the time-sharing strategy of motor drive diagnosis and status detection.

Benefits of technology

Without hardware changes, compatibility between motor drive diagnosis and transmission gun lock status detection is achieved, ensuring the safety and reliability of the equipment, and being able to identify the fault of the electronic lock and output abnormal warning information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119266640A_ABST
    Figure CN119266640A_ABST
Patent Text Reader

Abstract

The invention provides a diagnosis method of a power transmission gun lock, a power transmission gun lock system and a new energy vehicle, and the diagnosis method of the power transmission gun lock comprises the steps: alternately executing a gun lock state detection step and a motor driving detection step after the locking state of the power transmission gun lock is changed; the gun lock state detection step comprises the steps that a level connection instruction is sent to a motor of the power transmission gun lock, and the level of a locking signal pin is detected; the motor driving detection step comprises the steps of sending a suspension instruction to a motor of the power transmission gun lock, and carrying out driving diagnosis detection on the motor; if it is detected that the level of the locking signal pin is different from the corresponding locking level of the current locking state of the power transmission gun lock, and the driving diagnosis detection result of the motor is normal, it is determined that an electronic lock driven by the motor breaks down. According to the configuration, the driving diagnosis of the motor and the state detection of the power transmission gun lock can be realized by utilizing the time-sharing strategy of the application layer under the condition that hardware is not changed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of new energy vehicles, and in particular to a diagnosis method for a power transmission gun lock, a power transmission gun lock system and a new energy vehicle. Background Art

[0002] In the existing technology, the power transmission gun lock, as a part of the electrical connection equipment, is widely used in occasions such as charging of new energy vehicles and power supply of industrial equipment. The power transmission gun lock generally uses a motor to lock and unlock the power transmission gun. However, since the motor drive signal of the power transmission gun lock is related to the state detection signal of the power transmission gun lock, the diagnostic strategy supported by the driver chip of the motor of the power transmission gun lock itself cannot meet the motor drive diagnosis, and when a fault occurs inside the power transmission gun lock, the fault cannot be reported to the circuit. The lack of effective motor drive diagnostic function makes it impossible to monitor and diagnose the gun lock connection status in real time. Once a motor drive fault occurs, such as an open circuit or a short circuit, it may pose a threat to the safety of the equipment and even cause a safety accident. Summary of the invention

[0003] The purpose of the present invention is to provide a power transmission gun lock diagnosis method, a power transmission gun lock system and a new energy vehicle, so as to solve the problem that the existing power transmission gun lock cannot take into account both motor drive diagnosis and gun lock state detection.

[0004] In order to solve the above technical problems, the present invention provides a method for diagnosing a power transmission gun lock, which comprises: after the locking state of the power transmission gun lock is changed, alternately performing a gun lock state detection step and a motor drive detection step; The gun lock state detection step includes sending a level connection instruction to the motor of the power transmission gun lock and detecting the level of the locking signal pin; The motor drive detection step includes sending a suspension instruction to the motor of the power transmission gun lock and performing a drive diagnosis detection of the motor; If it is detected that the level of the lock signal pin is different from the corresponding lock level of the current lock state of the power transmission gun lock, and the result of the drive diagnosis test of the motor is normal, it is determined that the electronic lock driven by the motor is faulty.

[0005] Optionally, the locking signal pin is connected to the negative pin of the motor of the power transmission gun lock through a locking switch; in the gun lock state detection step, the level connection instruction sent to the motor of the power transmission gun lock is that both the positive pin and the negative pin of the motor are grounded.

[0006] Optionally, the locking signal pin is connected to the negative pin of the motor of the power transmission gun lock through a locking switch; the locking state of the power transmission gun lock includes a locked state and an unlocked state; When the power transmission gun lock is in the locked state, the corresponding locking level of the power transmission gun lock in the motor drive detection step is a low level; When the power transmission gun lock is in the unlocked state, the corresponding locking level of the power transmission gun lock in the motor drive detection step is a high level or suspended.

[0007] Optionally, during the process of the power transmission gun lock switching from the unlocked state to the locked state, the positive pin of the motor is connected to the positive pole of the power supply, and the negative pin is grounded; during the process of the power transmission gun lock switching from the locked state to the unlocked state, the positive pin of the motor is grounded, and the negative pin is connected to the positive pole of the power supply.

[0008] Optionally, in the gun lock state detection step, the drive diagnosis detection of the motor is shielded; in the motor drive detection step, the gun lock state detection of the power transmission gun lock is shielded.

[0009] Optionally, if it is detected that the level of the locking signal pin is the same as the corresponding locking level of the current locking state of the power transmission gun lock, and the result of the drive diagnosis test of the motor is normal, it is determined that the current power transmission gun lock is normal.

[0010] Optionally, the drive diagnostic detection of the motor includes short circuit detection and / or open circuit detection.

[0011] Optionally, if the result of the drive diagnosis test of the motor is abnormal, corresponding abnormal warning information is output.

[0012] In order to solve the above technical problems, the present invention also provides a power transmission gun lock system, which includes: a power transmission gun lock and a control module, the power transmission gun lock includes a motor and a locking switch, the motor is used to drive an electronic lock to lock or unlock the power transmission gun; the locking switch is linked with the motor and is configured to be in a closed state when the motor locks the power transmission gun, and to be in an open state when the motor unlocks the power transmission gun; one end of the locking switch is connected to a pin of the motor, and the other end of the locking switch is connected to a locking signal pin; the control module is configured to diagnose the power transmission gun lock according to the diagnostic method of the power transmission gun lock as described above.

[0013] In order to solve the above technical problems, the present invention also provides a new energy vehicle, which includes the power transmission gun lock system as described above.

[0014] In summary, in the power transmission gun lock diagnosis method, power transmission gun lock system and new energy vehicle provided by the present invention, the power transmission gun lock diagnosis method includes: after the locking state of the power transmission gun lock changes, alternately executing the gun lock state detection step and the motor drive detection step; the gun lock state detection step includes sending a level connection instruction to the motor of the power transmission gun lock and detecting the level of the locking signal pin; the motor drive detection step includes sending a suspension instruction to the motor of the power transmission gun lock and performing a motor drive diagnosis detection; if it is detected that the level of the locking signal pin is different from the corresponding locking level of the current locking state of the power transmission gun lock, and the result of the motor drive diagnosis detection is normal, it is determined that the electronic lock driven by the motor is faulty.

[0015] With such configuration, by alternately executing gun lock state detection and motor drive detection, the motor drive signal of the power transmission gun lock and the state detection signal of the power transmission gun lock can be decoupled from each other and do not affect each other. Therefore, without making any hardware changes, the time-sharing strategy of the application layer can be used to realize motor drive diagnosis and power transmission gun lock state detection. Further combined with the drive state and fault state of the electronic lock, it is possible to determine and identify whether the electronic lock has a fault, thereby ensuring the reliability of the power transmission gun connection and the safety of the equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Those skilled in the art will appreciate that the drawings are provided for a better understanding of the present invention, but do not constitute any limitation on the scope of the present invention.

[0017] Figure 1 It is a schematic structural diagram of a power transmission gun lock according to an embodiment of the present invention.

[0018] Figure 2 It is a flowchart of a diagnostic method for a power transmission gun lock according to an embodiment of the present invention.

[0019] In the attached figure: 1-motor; 11-positive pin; 12-negative pin; 13-lock signal pin; 2-lock switch. DETAILED DESCRIPTION

[0020] In order to make the purpose, advantages and features of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the drawings are all in a very simplified form and are not drawn to scale, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention. In addition, the structure shown in the drawings is often a part of the actual structure. In particular, the emphasis of each drawing is different, and sometimes different scales are used.

[0021] As used in the present invention, the singular forms "a", "an", "one" and "the" include plural objects, the term "or" is usually used to include the meaning of "and / or", the term "several" is usually used to include the meaning of "at least one", and the term "at least two" is usually used to include the meaning of "two or more". In addition, the terms "first", "second" and "third" are used only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined as "first", "second" and "third" may explicitly or implicitly include one or at least two of the features, "one end" and "the other end" as well as "proximal end" and "distal end" generally refer to two corresponding parts, which include not only endpoints. In addition, as used in the present invention, "installed", "connected", "connected", and one element "set" on another element should be understood in a broad sense, usually only indicating that there is a connection, coupling, cooperation or transmission relationship between the two elements, and the connection, coupling, cooperation or transmission between the two elements can be direct or indirect through an intermediate element, and cannot be understood as indicating or implying the spatial position relationship between the two elements, that is, one element can be in any orientation such as inside, outside, above, below or one side of another element, unless the content clearly indicates otherwise. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances. In addition, directional terms such as above, below, up, down, upward, downward, left, right, etc. are used relative to the exemplary embodiments as shown in the figures, with the upward or upper direction toward the top of the corresponding figure, and the downward or lower direction toward the bottom of the corresponding figure.

[0022] The purpose of the present invention is to provide a power transmission gun lock diagnosis method, a power transmission gun lock system and a new energy vehicle to solve the problem that the existing power transmission gun lock cannot take into account both motor drive diagnosis and gun lock state detection. The following is a description with reference to the accompanying drawings.

[0023] The power transmission gun is a pluggable power transmission device that can be used in some occasions where charging or power supply is required by plugging and unplugging, such as charging new energy vehicles, or temporarily supplying power to some industrial equipment. The form of the power transmission gun can be optionally configured to be easy to hold, and connected or removed by plugging and unplugging. Some power transmission guns have a large power transmission power, and need to be locked and unlocked by a power transmission gun lock. The power transmission gun lock is generally set at the receiving end that accommodates the power transmission gun, such as the vehicle end or the industrial equipment end.

[0024] The charging gun of new energy vehicles is a power transmission gun. The charging guns of new energy vehicles include AC guns and DC guns. The AC gun has a relatively small power transmission power and is usually not equipped with a locking mechanism. Instead, a power transmission gun lock is set at the vehicle end to lock the AC gun inserted into the vehicle end. For the DC gun, a locking mechanism can be configured by itself, so a power transmission gun lock can be optionally set at the vehicle end.

[0025] Please refer to Figure 1 The embodiment of the present invention provides a power transmission gun lock, which includes a motor 1 and a locking switch 2. The motor 1 is used to drive an electronic lock (not shown) to lock or unlock the power transmission gun (not shown), that is, the locking state of the power transmission gun lock includes a locked state and an unlocked state. The motor 1 has a positive pin 11 and a negative pin 12. When the positive pin 11 is connected to the positive pole of the power supply and the negative pin 12 is connected to the negative pole of the power supply (i.e., grounded), the motor 1 generates forward rotation, drives the electronic lock connected to the motor 1, and causes the electronic lock to lock the lock buckle of the power transmission gun. At this time, the power transmission gun lock is in a locked state. When the positive pin 11 is connected to the negative pole of the power supply (i.e., grounded) and the negative pin 12 is connected to the positive pole of the power supply, the motor 1 generates reverse rotation, drives the electronic lock connected to the motor 1, and causes the electronic lock to release the lock buckle of the power transmission gun. At this time, the power transmission gun lock is in an unlocked state.

[0026] It can be understood that, in the process of switching the power transmission gun lock from the unlocked state to the locked state, the positive pin 11 of the motor 1 is connected to the positive pole of the power supply, and the negative pin 12 is grounded; in the process of switching the power transmission gun lock from the locked state to the unlocked state, the positive pin 11 of the motor 1 is grounded, and the negative pin 12 is connected to the positive pole of the power supply. The structure of the lock buckle of the electronic lock and the power transmission gun, as well as the locking and unlocking principles of the two, can refer to the prior art, and will not be described in detail in this embodiment.

[0027] Furthermore, the locking switch 2 is linked with the motor 1 and is configured to be in a closed state (i.e., turned on) when the motor 1 locks the power transmission gun, and to be in an open state (i.e., open circuit) when the motor 1 unlocks the power transmission gun. One end of the locking switch 2 is connected to a pin of the motor 1 ( Figure 1 In the example shown, the negative electrode pin 12 is connected, and the other end of the locking switch 2 is connected to the locking signal pin 13.

[0028] For the sake of convenience, this article defines the level of the positive pole of the power supply connected to the motor 1 as a high level, and the level of the negative pole of the power supply (ground) as a low level. Figure 1In the example shown, when the motor 1 rotates forward and drives the electronic lock to lock the lock of the power transmission gun, the locking switch 2 is closed in conjunction with it. At this time, the locking signal pin 13 is connected to the negative pin 12, and the levels of the two are consistent, both of which are low. When the motor 1 rotates in the opposite direction and drives the electronic lock to unlock, the locking switch 2 is disconnected in conjunction with it. At this time, the locking signal pin 13 is disconnected from the negative pin 12. Before the locking switch 2 is disconnected, the level of the locking signal pin 13 is consistent with the level of the negative pin 12, which is a high level. After the locking switch 2 is disconnected, the locking signal pin 13 is suspended. Therefore, by monitoring the level of the locking signal pin 13, the locking state of the power transmission gun lock can be determined. In practice, the level of the locking signal pin 13 can be monitored by the control module to obtain the locking state of the power transmission gun lock.

[0029] Based on the monitoring of the level of the lock signal pin 13, it is effective under normal conditions. However, once the motor 1 has a drive fault (such as an open circuit or a short circuit, etc.), the control module cannot identify the fault, that is, it cannot provide immediate feedback or diagnostic information, and it is difficult for maintenance personnel to quickly locate the cause of the fault. The above problems will bring safety hazards such as current instability, equipment damage or electrical fire due to the inability to detect the drive fault in time.

[0030] In some application scenarios, the drive of the motor 1 can be achieved through a bridge drive chip. For example, the positive pin 11 and the negative pin 12 of the motor 1 are connected to the bridge drive chip and driven by the bridge drive chip. The bridge drive chip may include some basic drive fault diagnosis functions, such as detection and diagnosis of short circuits (such as short ground or short power supply) or open circuits of certain pins. However, the drive fault diagnosis function of the bridge drive chip generally requires the detected pin to be set to floating. Based on the above analysis, it can be seen that when the power transmission gun lock is in the locked state, the negative pin 12 and the locking signal pin 13 are connected. Once the drive fault diagnosis is performed on the positive pin 11 and the negative pin 12, it is inevitable that the locking signal pin 13 will be introduced into a high level. When the control module collects the high level of the locking signal pin 13, it will misjudge the locking state of the power transmission gun lock as the unlocking state, which is inconsistent with the actual locking state of the power transmission gun lock (in the locked state). In order to make the level detection result of the locking signal pin 13 consistent with the actual locking state of the power transmission gun lock, the positive pin 11 and the negative pin 12 need to be grounded after the locking is completed, but the positive pin 11 and the negative pin 12 cannot realize the driving fault diagnosis of the bridge drive chip. That is, the detection of the locking state of the power transmission gun lock and the driving fault diagnosis of the motor 1 are incompatible.

[0031] Based on this, please refer to Figure 2 The embodiment of the present invention provides a method for diagnosing a power transmission gun lock, which includes: Step S1: after the locking state of the power transmission gun lock is changed, alternately perform the gun lock state detection step S2 and the motor drive detection step S3; The gun lock state detection step S2 includes sending a level connection instruction to the motor 1 of the power transmission gun lock and detecting the level of the locking signal pin 13; The motor drive detection step S3 includes sending a suspension instruction to the motor 1 of the power transmission gun lock and performing a drive diagnosis detection on the motor 1; Step S4: If it is detected that the level of the locking signal pin 13 is different from the corresponding locking level of the current locking state of the power transmission gun lock, and the result of the driving diagnosis test of the motor 1 is normal, it is determined that the electronic lock driven by the motor 1 is faulty.

[0032] In step S1, the lock state change of the power transmission gun lock refers to switching from the locked state to the unlocked state, or switching from the unlocked state to the locked state. The power transmission gun lock diagnosis method provided in this embodiment is not applied in the switching process of the lock state of the power transmission gun lock. Step S2 and step S3 are alternately executed, which can be performed only once, or can be repeatedly performed twice or more times, which is not limited in this embodiment.

[0033] In step S2, the level instruction is to connect the positive pin 11 and the negative pin 12 of the motor 1 to the same level, which can be achieved by, for example, sending a control instruction to the bridge drive chip by the control module. Figure 1 In the example shown, the locking signal pin 13 is connected to the negative pin 12 of the motor 1 of the power transmission gun lock through the locking switch 2, and the level connection instruction is that the positive pin 11 and the negative pin 12 of the motor 1 are both grounded. It can be understood that in other embodiments, when the locking signal pin 13 is connected to the positive pin 11 through the locking switch 2, the level connection instruction can also be that the positive pin 11 and the negative pin 12 of the motor 1 are both connected to the positive pole of the power supply. At this time, the locking signal pin 13 corresponds to the level of the different locking states of the power transmission gun lock. Figure 1 The example shown is the opposite.

[0034] In step S3, the dangling instruction means that both the positive pin 11 and the negative pin 12 of the motor 1 are dangling, which can be implemented, for example, by sending a control instruction to the bridge drive chip by the control module. The drive diagnosis detection of the motor 1 can be implemented based on the drive fault diagnosis function of the bridge drive chip, which can also be implemented by sending a control instruction to the bridge drive chip by the control module. Furthermore, the drive diagnosis detection of the motor 1 includes short circuit detection and / or open circuit detection. The short circuit detection can further include short ground detection and / or short power supply detection. It can be understood that the results of the drive diagnosis detection of the motor 1 include both normal and abnormal. Preferably, if the result of the drive diagnosis detection of the motor 1 is abnormal, the corresponding abnormal warning information is output. The abnormal warning information can be expressed in various ways, such as sound (such as buzzer ringing), light (such as indicator light flashing) or app prompts.

[0035] In step S4, the corresponding locking level of the current locking state of the power transmission gun lock is configured according to the motor pin connected to the locking signal pin 13 and the current locking state of the power transmission gun lock. Specifically, in one embodiment, Figure 1 As shown, when the locking signal pin 13 is connected to the negative pin 12 of the motor 1 of the power transmission gun lock through the locking switch 2, when the power transmission gun lock is in the locked state, the corresponding locking level of the power transmission gun lock is a low level; when the power transmission gun lock is in the unlocked state, the corresponding locking level of the power transmission gun lock is a high level or suspended. In another embodiment, when the locking signal pin 13 is connected to the positive pin 11 through the locking switch 2, when the power transmission gun lock is in the locked state, the corresponding locking level of the power transmission gun lock is a high level; when the power transmission gun lock is in the unlocked state, the corresponding locking level of the power transmission gun lock is a low level or suspended.

[0036] Furthermore, the level of the locking signal pin 13 is different from the current corresponding locking level, indicating that there may be a fault at present. Take the locking signal pin 13 as an example, which is connected to the negative pin 12 through the locking switch 2, and the power transmission gun lock is in the locked state. At this time, the corresponding locking level of the power transmission gun lock is a low level. If the level detected by the locking signal pin 13 is a high level or suspended, it is different from the current corresponding locking level. There are two possible faults at this time, one is the failure of the electronic lock driven by the motor 1, and the other is that the motor 1 has a driving fault, such as an open circuit fault or a short circuit fault. Therefore, step S4 further combines the result of the drive diagnosis test of the motor 1 to determine the current fault type. Preferably, step S4 refers to a cycle in which the level of the locking signal pin 13 is different from the corresponding locking level, and the result of the drive diagnosis test of the motor 1 is normal. At this time, it can be determined that the electronic lock driven by the motor 1 is faulty.

[0037] Optionally, the diagnostic method of the power transmission gun lock further includes: step S5: if it is detected that the level of the locking signal pin 13 is the same as the corresponding locking level of the current locking state of the power transmission gun lock, and the result of the drive diagnosis test of the motor 1 is normal, then it is determined that the current power transmission gun lock is normal. Preferably, step S5 also means that within a cycle of alternately executing step S2 and step S3, the level of the locking signal pin 13 is the same as the corresponding locking level, and the result of the drive diagnosis test of the motor 1 is normal. At this time, it can be determined that the power transmission gun lock is normal.

[0038] Optionally, in the gun lock state detection step S2, the drive diagnosis detection of the motor 1 is shielded; in the motor drive detection step S3, the gun lock state detection of the power transmission gun lock is shielded. That is, when step S2 and step S3 are each executed, the detection of the other is suspended and shielded, ensuring that the motor drive signal of the power transmission gun lock and the state detection signal of the power transmission gun lock are decoupled from each other and do not affect each other.

[0039] The embodiment of the present invention further provides a power transmission gun lock system, which includes: the power transmission gun lock as described above, and also includes a control module; the control module is configured to diagnose the power transmission gun lock according to the power transmission gun lock diagnosis method as described above. The control module can be a vehicle computer, a single-chip microcomputer, a logic controller including a program, etc., and the present invention is not limited to this. Further, the embodiment of the present invention further provides a new energy vehicle, which includes the power transmission gun lock system as described above.

[0040] In summary, in the power transmission gun lock diagnosis method, power transmission gun lock system and new energy vehicle provided by the present invention, the power transmission gun lock diagnosis method includes: after the locking state of the power transmission gun lock changes, alternately executing the gun lock state detection step and the motor drive detection step; the gun lock state detection step includes sending a level connection instruction to the motor of the power transmission gun lock and detecting the level of the locking signal pin; the motor drive detection step includes sending a suspension instruction to the motor of the power transmission gun lock and performing a motor drive diagnosis detection; if it is detected that the level of the locking signal pin is different from the corresponding locking level of the current locking state of the power transmission gun lock, and the result of the motor drive diagnosis detection is normal, it is determined that the electronic lock driven by the motor is faulty. With such configuration, by alternately executing gun lock state detection and motor drive detection, the motor drive signal of the power transmission gun lock and the state detection signal of the power transmission gun lock can be decoupled from each other and do not affect each other. Therefore, without making any hardware changes, the time-sharing strategy of the application layer can be used to realize motor drive diagnosis and power transmission gun lock state detection. Further combined with the drive state and fault state of the electronic lock, it is possible to determine and identify whether the electronic lock has a fault, thereby ensuring the reliability of the power transmission gun connection and the safety of the equipment.

[0041] It should be noted that the above embodiments can be combined with each other. The above description is only a description of the preferred embodiments of the present invention, and does not limit the scope of the present invention. Any changes and modifications made by ordinary technicians in the field of the present invention based on the above disclosure are within the protection scope of the present invention.

Claims

1. A power transmission gun lock diagnosis method, characterized in that: include: After the locking state of the power transmission gun lock is changed, the gun lock state detection step and the motor drive detection step are alternately performed; The gun lock state detection step includes sending a level connection instruction to the motor of the power transmission gun lock and detecting the level of the locking signal pin; The motor drive detection step includes sending a suspension instruction to the motor of the power transmission gun lock and performing a drive diagnosis detection of the motor; If it is detected that the level of the lock signal pin is different from the corresponding lock level of the current lock state of the power transmission gun lock, and the result of the drive diagnosis test of the motor is normal, it is determined that the electronic lock driven by the motor is faulty.

2. The diagnostic method for power transmission gun lock according to claim 1, characterized in that: The locking signal pin is connected to the negative pin of the motor of the power transmission gun lock through a locking switch; in the gun lock state detection step, the level connection instruction sent to the motor of the power transmission gun lock is that both the positive pin and the negative pin of the motor are grounded.

3. The diagnostic method of power transmission gun lock according to claim 1, characterized in that: The locking signal pin is connected to the negative pin of the motor of the power transmission gun lock through the locking switch; the locking state of the power transmission gun lock includes a locked state and an unlocked state; When the power transmission gun lock is in the locked state, the corresponding locking level of the power transmission gun lock in the motor drive detection step is a low level; When the power transmission gun lock is in the unlocked state, the corresponding locking level of the power transmission gun lock in the motor drive detection step is a high level or suspended.

4. The diagnostic method for power transmission gun lock according to claim 3, characterized in that: During the process of the power transmission gun lock switching from the unlocked state to the locked state, the positive pin of the motor is connected to the positive pole of the power supply, and the negative pin is grounded; during the process of the power transmission gun lock switching from the locked state to the unlocked state, the positive pin of the motor is grounded, and the negative pin is connected to the positive pole of the power supply.

5. The diagnostic method of power transmission gun lock according to claim 1, characterized in that: In the gun lock state detection step, the drive diagnosis detection of the motor is shielded; in the motor drive detection step, the gun lock state detection of the power transmission gun lock is shielded.

6. The diagnostic method of power transmission gun lock according to claim 1, characterized in that: If it is detected that the level of the locking signal pin is the same as the corresponding locking level of the current locking state of the power transmission gun lock, and the result of the driving diagnosis detection of the motor is normal, it is determined that the current power transmission gun lock is normal.

7. The diagnostic method of power transmission gun lock according to claim 1, characterized in that: The drive diagnosis detection of the motor includes short circuit detection and / or open circuit detection.

8. The diagnostic method for power transmission gun lock according to claim 1, characterized in that: If the result of the drive diagnosis test of the motor is abnormal, corresponding abnormal warning information is output.

9. A power transmission gun lock system, characterized in that: include: A power transmission gun lock and a control module, wherein the power transmission gun lock comprises a motor and a locking switch, wherein the motor is used to drive an electronic lock to lock or unlock the power transmission gun; The locking switch is linked to the motor and is configured to be in a closed state when the motor locks the power transmission gun, and to be in an open state when the motor unlocks the power transmission gun; one end of the locking switch is connected to a pin of the motor, and the other end of the locking switch is connected to a locking signal pin; the control module is configured to diagnose the power transmission gun lock according to the diagnostic method of the power transmission gun lock according to any one of claims 1 to 8.

10. A new energy vehicle, characterized in that: Comprising the power transmission gun lock system according to claim 9.