Charging safety detection method and device and new energy automobile

By integrating reverse connection detection and adhesion detection circuit design, and utilizing sampling resistor voltage and high-voltage DC contactor, the problems of low detection efficiency and high cost in existing technologies are solved, and efficient and low-cost charging safety detection is achieved.

CN120697606APending Publication Date: 2025-09-26CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510827081.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-19
Publication Date
2025-09-26

AI Technical Summary

Technical Problem

In the prior art, adhesion detection and reverse connection detection are independent modules, resulting in low detection efficiency, high cost, large size, complex circuits and prone to electromagnetic compatibility issues.

Method used

The reverse connection detection and adhesion detection are integrated into the same circuit, and the detection is performed through an improved method of sampling the resistor voltage. The high-voltage DC contactor and fixed isolation amplifier are used to divide and amplify the signal, and the judgment is made in conjunction with the microcontroller unit.

Benefits of technology

It improves detection efficiency, reduces component usage, simplifies circuit design, reduces failure points, reduces hardware costs, avoids electromagnetic compatibility issues, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120697606A_ABST
    Figure CN120697606A_ABST
Patent Text Reader

Abstract

The invention provides a charging safety detection method and device, a new energy automobile and electronic equipment, and the method comprises the steps: obtaining a first sampling resistor voltage; performing reverse connection detection according to the first sampling resistor voltage to obtain a reverse connection detection result; if the detection result is that the connection is correct, starting charging for a charging gun and a vehicle interface; after charging is completed and before the charging gun is pulled out, a second sampling resistor voltage is obtained, adhesion detection is carried out according to the second sampling resistor voltage, and an adhesion detection result is obtained; and the charging gun is pulled out according to the adhesion detection result, and charging is ended. According to the application, reverse connection detection and adhesion detection can be integrated, the use of components is reduced, the detection efficiency is improved, the components are reasonably and effectively utilized, the cost is reduced, the charging process is convenient to coordinate, and the problem of incompatibility is not easy to occur.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of charging detection technology, and specifically to a charging safety detection method, device, new energy vehicle and electronic equipment. Background Art

[0002] The safety and reliability of electric vehicle charging piles are crucial to the charging process. During the charging process, adhesion detection and reverse fault detection are two common and important tests, which are performed after charging and before charging respectively.

[0003] Existing sticking detection checks the vehicle interface electrical connection and charging gun voltage for abnormalities after charging, while existing reverse connection detection checks for abnormal current direction before charging. These two detection modules operate independently. When reverse connection detection is normal, the function enters sleep mode and stops testing. Sticking detection uses a separate circuit. This detection method is inefficient, has low component utilization, is costly, bulky, difficult to coordinate, and has complex circuits. It may also pose electromagnetic compatibility issues. Summary of the Invention

[0004] The purpose of this application is to provide a charging safety detection method, device, new energy vehicle and electronic equipment, which can integrate reverse connection detection and adhesion detection, reduce the use of components, improve detection efficiency, reasonably and effectively utilize components, reduce costs, facilitate coordination of the charging process, and be less likely to cause incompatibility problems.

[0005] In a first aspect, an embodiment of the present application provides a charging safety detection method, the method comprising: Obtaining a first sampling resistor voltage; Performing reverse connection detection according to the voltage of the first sampling resistor to obtain a reverse connection detection result; If the detection result shows that the connection is correct, charging is started on the charging gun and the vehicle interface; After charging is completed and before the charging gun is pulled out, a second sampling resistor voltage is obtained, and a sticking detection is performed based on the second sampling resistor voltage to obtain a sticking detection result; The charging gun is pulled out according to the adhesion detection result to terminate charging.

[0006] In the above implementation process, through the improvement of the sampling method and the detection method and the rational use of components, the reverse connection detection and adhesion detection can be integrated, the use of components can be reduced, the detection efficiency can be improved, the components can be used rationally and effectively, the cost can be reduced, the charging process can be coordinated, and incompatibility problems are less likely to occur.

[0007] Furthermore, before the step of obtaining the first sampling resistor voltage, the method further includes: Connect the charging gun and the vehicle interface. After the charging gun is connected to the vehicle interface and before charging starts, control the high-voltage DC contactor to close and determine whether the charging gun and the vehicle interface are successfully connected. If so, continue to obtain the first sampling resistor voltage; if not, enter the sleep state.

[0008] In the above implementation process, before reverse connection detection, the connection status of the charging gun and the vehicle interface is confirmed, which can effectively improve the safety preparation before charging, reduce safety hazards, and provide support for subsequent reverse connection detection and adhesion detection.

[0009] Furthermore, the step of obtaining the first sampling resistor voltage includes: After dividing the positive and negative voltages of the high-voltage DC contactor, sampling the sampling resistor voltage is performed to obtain the first sampling resistor voltage.

[0010] In the above implementation process, the positive and negative voltages of the high-voltage DC contactor are divided and then sampled, so that only whether the voltage is reversed can be detected without complex detection, which can simplify the detection process and reduce circuit complexity.

[0011] Furthermore, the step of performing reverse connection detection according to the voltage of the first sampling resistor to obtain a reverse connection detection result includes: amplifying the first sampling resistor voltage to obtain a third sampling resistor voltage; amplifying the third sampling resistor voltage and adding a bias voltage to obtain a fourth sampling resistor voltage; Performing voltage detection on the fourth sampling resistor voltage; If the detected signal value is greater than the first threshold, the charging gun and the gun line of the vehicle interface are correctly connected, and the reverse connection detection result is determined to be a correct connection; If the detected signal value is less than or equal to the first threshold, the gun line between the charging gun and the vehicle interface is incorrectly connected, and the reverse connection detection result is determined to be a connection error.

[0012] In the above implementation process, by amplifying the sampled first sampling resistor voltage twice, the sampled voltage data can be accurately and effectively transmitted, thereby preventing distortion and ensuring the accuracy and authenticity of the detection result.

[0013] Furthermore, if the detection result shows that the connection is correct, the step of starting charging of the charging gun and the vehicle interface further includes: If the detection result is a connection error, a fault instruction is issued to start the charging stop procedure.

[0014] In the above implementation process, when the detection result is a correct connection, when the detection result is an incorrect connection, different processing methods are adopted according to the detection results to avoid the charging process being affected by the detection process, and effective measures can be taken in time to ensure charging safety.

[0015] Furthermore, the step of performing adhesion detection according to the second sampling resistor voltage to obtain an adhesion detection result includes: amplifying the second sampling resistor voltage to obtain a fifth sampling resistor voltage; amplifying the fifth sampling resistor voltage and adding a bias voltage to obtain a sixth sampling resistor voltage; Performing voltage detection on the sixth sampling resistor voltage; If the detected signal value is greater than a second threshold, the gun line connection between the charging gun and the vehicle interface is not stuck, and the sticking detection result is determined to be normal; If the detected signal value is less than or equal to the second threshold, adhesion occurs between the gun line connection between the charging gun and the vehicle interface, and the adhesion detection result is determined to be abnormal.

[0016] In the above implementation process, adhesion detection is performed on the charging pile and the vehicle interface according to the same circuit, which can improve the utilization rate of the circuit, enhance the detection efficiency, and avoid the situation where abnormalities in the charging process cannot be promptly reported.

[0017] Furthermore, the step of pulling out the charging gun according to the adhesion detection result to end charging includes: If the adhesion detection result is normal, unplug the charging gun to end charging; If the adhesion detection result is abnormal, a fault instruction is issued and the charging connection is disconnected.

[0018] In the above implementation process, the charging gun is pulled out or a fault instruction is issued according to different adhesion detection results to ensure the safe and stable operation of the charging process, timely discover the abnormalities in the charging process, and avoid safety hazards.

[0019] In a second aspect, an embodiment of the present application further provides a charging safety detection device, the device comprising: A data acquisition module, configured to obtain a voltage of a first sampling resistor; a reverse connection detection module, configured to perform reverse connection detection according to the voltage of the first sampling resistor to obtain a reverse connection detection result; A charging start module is used to start charging the charging gun and the vehicle interface if the detection result shows that the connection is correct; a sticking detection module, configured to obtain a second sampling resistor voltage after charging is completed and before the charging gun is removed, and perform sticking detection based on the second sampling resistor voltage to obtain a sticking detection result; The charging end module is used to pull out the charging gun according to the adhesion detection result to end charging.

[0020] In the above implementation process, by improving the sampling method and detection method and rationally utilizing components, reverse connection detection and adhesion detection can be integrated, which reduces the use of components, improves detection efficiency, rationally and effectively utilizes components, reduces costs, facilitates coordination of the charging process, and is less likely to cause incompatibility problems. In a third aspect, an embodiment of the present application provides a new energy vehicle, comprising the charging safety detection device of the second aspect.

[0021] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of the first aspects when executing the computer program.

[0022] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, on which instructions are stored. When the instructions are executed on a computer, the computer executes the method as described in any one of the first aspects.

[0023] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by practicing the above-mentioned technology of the present disclosure.

[0024] It can be implemented according to the contents of the specification. The following is a detailed description of the preferred embodiments of the present application with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the range values. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.

[0026] Figure 1 A flowchart of a charging safety detection method is provided for an embodiment of the present application; Figure 2 Provides a schematic diagram of a charging safety detection circuit for an embodiment of the present application; Figure 3A schematic diagram of the structure of a charging safety detection device is provided for an embodiment of the present application; Figure 4 A schematic diagram of the structural composition of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0028] It should be noted that similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and should not be understood as indicating or implying relative importance.

[0029] The following embodiments are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0030] With the rapid development of electric vehicles, the safety and reliability of charging piles, as important supporting facilities, have attracted much attention. Because charging piles are devices that directly contact the vehicle owner, safety inspections are of paramount importance to prevent vehicle damage caused by accidents during the charging process.

[0031] Traditional sticking detection checks the vehicle interface electrical connection and charging gun voltage for abnormalities after charging, while traditional reverse polarity detection checks for abnormal current direction before charging. These two modules perform independent detection. If reverse polarity detection is successful, the system enters sleep mode and stops testing. This compromises charging safety, reduces component utilization, increases size, makes configuration coordination difficult, and complicates circuitry, reducing the user experience.

[0032] This application realizes reverse connection detection and adhesion detection in a multi-purpose manner, and can monitor the charging process in real time. When the alarm is triggered, the charging pile will immediately stop charging, and then through the screen of the charging pile, components can be effectively utilized to improve detection performance.

[0033] Example 1 Figure 1 This is a flow chart of a charging safety detection method provided by an embodiment of the present application. Figure 1 As shown, the method includes: S1, obtaining the voltage of the first sampling resistor; S2, performing reverse connection detection according to the voltage of the first sampling resistor to obtain a reverse connection detection result; S3: If the detection result shows that the connection is correct, start charging the charging gun and the vehicle interface; S4, after charging is completed and before the charging gun is unplugged, obtaining a second sampling resistor voltage, performing a sticking test based on the second sampling resistor voltage, and obtaining a sticking test result; S5: Pull out the charging gun according to the adhesion detection result to end charging.

[0034] In the above implementation process, through the improvement of the sampling method and the detection method and the rational use of components, the reverse connection detection and adhesion detection can be integrated, the use of components can be reduced, the detection efficiency can be improved, the components can be used rationally and effectively, the cost can be reduced, the charging process can be coordinated, and incompatibility problems are less likely to occur.

[0035] The circuit structure of the embodiment of the present application is simple and effective. Figure 2 As shown, it specifically includes a high-voltage voltage divider unit, a fixed isolation unit, and an operational amplifier unit. The microcontroller unit (MCU) can perform different functional tests on the signal sent by the same circuit in different time periods.

[0036] The high-voltage divider unit consists of several resistors. The resistors at the positive and negative input terminals of the high-voltage DC contactor have the same value and number. The positive high-side resistors are connected in series for a total of 990kΩ, while the negative low-side resistors are connected in series for a total of 990kΩ, both for voltage division. Both sides share a 910Ω sampling resistor.

[0037] When the charging gun is connected to the vehicle interface, the module is used for voltage division, and the fixed isolation unit samples the voltage of the sampling resistor.

[0038] The fixed isolation unit is composed of a fixed isolation amplifier, which can safely isolate the front-stage high voltage from the subsequent circuit, and perform voltage differential sampling on the front-stage detection resistor, amplify it by 2 times and output it to the subsequent operational amplifier unit.

[0039] The operational amplifier unit, consisting of a precision differential amplifier, input resistors, and feedback resistors, linearly amplifies the differential signal input from the fixed isolation unit and transmits it to the MCU. By configuring a specific ratio between the input resistors and the feedback resistors, a precise gain of 1.65x is achieved. To ensure signal integrity, the circuit integrates a 1.65V DC bias voltage compensation module to prevent signal distortion.

[0040] Through the circuit integration method described above, the circuit design is simplified, the circuit complexity is reduced, and thus the potential failure points are reduced. This can achieve efficient use of the circuit, reduce hardware costs, reduce volume, improve space utilization, and reduce components, providing a technical basis for product miniaturization.

[0041] At the same time, this application uses integrated modules, which are less prone to electromagnetic compatibility issues, have efficient internal coordination, and reduce compatibility risks. Maintenance is also more convenient, improving the user experience.

[0042] The embodiment of the present application can also provide alarm visualization, and the transmission information is presented using a visual interface, supporting multiple terminal display methods, including but not limited to mobile applets, SMS notifications, and charging pile display screens, etc., to ensure that users can obtain system status and processing progress in a timely manner.

[0043] The reverse connection detection of the present application also measures the voltage values ​​of DC+ and DC-, and only detects whether the voltage is reversed.

[0044] Furthermore, before the step of obtaining the first sampling resistor voltage, the method further includes: Connect the charging gun and the vehicle interface. After the charging gun is connected to the vehicle interface and before charging starts, control the high-voltage DC contactor to close to determine whether the charging gun and the vehicle interface are connected successfully. If so, continue to obtain the first sampling resistor voltage. If not, enter the sleep state.

[0045] In the above implementation process, before reverse connection detection, the connection status of the charging gun and the vehicle interface is confirmed, which can effectively improve the safety preparation before charging, reduce safety hazards, and provide support for subsequent reverse connection detection and adhesion detection.

[0046] Furthermore, S1 includes: After dividing the positive and negative voltages of the high-voltage DC contactor, the sampling resistor voltage is sampled to obtain a first sampling resistor voltage.

[0047] In the above implementation process, the positive and negative voltages of the high-voltage DC contactor are divided and then sampled, so that only whether the voltage is reversed can be detected without complex detection, which can simplify the detection process and reduce circuit complexity.

[0048] When the charging cable is connected to the vehicle interface and before charging, the high-voltage DC contactor is closed. The fixed isolation amplifier will collect the sampling resistor voltage (the first sampling resistor voltage).

[0049] The positive and negative voltages of the high voltage divider unit to the high voltage DC contactor Perform voltage division and fix the isolation amplifier to sample the sampling resistor voltage.

[0050] The voltage of the first sampling resistor: ; Furthermore, S2 includes: amplifying the first sampling resistor voltage to obtain a third sampling resistor voltage; Amplifying the third sampling resistor voltage and adding a bias voltage to obtain a fourth sampling resistor voltage; Performing voltage detection on the fourth sampling resistor voltage; If the detected signal value is greater than the first threshold, the charging gun and the vehicle interface are correctly connected, and the reverse connection detection result is determined to be correctly connected; If the detected signal value is less than or equal to the first threshold, the connection between the charging gun and the vehicle interface is incorrect, and the reverse connection detection result is determined to be a connection error.

[0051] In the above implementation process, by amplifying the sampled first sampling resistor voltage twice, the sampled voltage data can be accurately and effectively transmitted, thereby preventing distortion and ensuring the accuracy and authenticity of the detection result.

[0052] The voltage of the first sampling resistor is amplified twice and transmitted to the MCU to determine whether the detected signal value is greater than the first threshold. The reverse connection detection time lasts for 100ms.

[0053] The fixed isolation amplifier in the fixed isolation unit amplifies the voltage of the first sampling resistor by a factor of 2 and transmits the amplified voltage to the first sampling resistor backward.

[0054] The voltage of the third sampling resistor is obtained by amplifying the voltage of the first sampling resistor by 2 times: The precision differential amplifier in the operational amplifier unit continues to amplify the voltage of the third sampling resistor. In order to prevent distortion, a 1.65V bias voltage is added, which is collected by the ADC and transmitted to the MCU.

[0055] Get the voltage of the fourth sampling resistor: ; Furthermore, S3 also includes: If the detection result is a connection error, a fault command is issued and the charging stop procedure is started.

[0056] In the above implementation process, when the detection result is a correct connection, when the detection result is an incorrect connection, different processing methods are adopted according to the detection results to avoid the charging process being affected by the detection process, and effective measures can be taken in time to ensure charging safety.

[0057] When the signal value detected by the MCU is greater than the first threshold, it is determined that the gun line is connected correctly, and the MCU issues an instruction to continue charging.

[0058] When the MCU detects that the signal value is less than the first threshold, it determines that the gun line connection is wrong, and the MCU issues a fault command. The charging pile immediately stops charging and alarms the user end through the charging pile screen, Bluetooth communication, and 4G / 5G.

[0059] The MCU performs a 100ms reverse polarity test on the signal to ensure that the voltage is not a transient voltage.

[0060] After the reverse connection test passes, the charging pile charges the vehicle normally. After charging is completed and before the charging gun is unplugged, the fixed isolation amplifier collects the sampling resistor voltage (the second sampling resistor voltage) and transmits it to the MCU after two amplifications. The MCU determines whether the detected signal value is greater than the second threshold. The adhesion detection time lasts for 100ms.

[0061] Furthermore, S4 includes: amplifying the second sampling resistor voltage to obtain a fifth sampling resistor voltage; Amplifying the fifth sampling resistor voltage and adding a bias voltage to obtain a sixth sampling resistor voltage; Performing voltage detection on the sixth sampling resistor voltage; If the detected signal value is greater than the second threshold, the gun line connection between the charging gun and the vehicle interface is not stuck, and the sticking detection result is determined to be normal; If the detected signal value is less than or equal to the second threshold, the gun line connection between the charging gun and the vehicle interface is stuck, and the sticking detection result is determined to be abnormal.

[0062] In the above implementation process, adhesion detection is performed on the charging pile and the vehicle interface according to the same circuit, which can improve the utilization rate of the circuit, enhance the detection efficiency, and avoid the situation where abnormalities in the charging process cannot be promptly reported.

[0063] After charging is completed, before the charging gun is unplugged, the same circuit is used to perform adhesion detection immediately.

[0064] The positive and negative voltages of the high voltage divider unit to the high voltage DC contactor Perform voltage division and fix the isolation amplifier to sample the sampling resistor voltage.

[0065] Get the voltage of the second sampling resistor: ; The fixed isolation amplifier in the fixed isolation unit amplifies the voltage of the second sampling resistor by a factor of 2 and transmits the amplified voltage backward.

[0066] Get the voltage of the fifth sampling resistor: ; The precision differential amplifier in the operational amplifier unit further amplifies the voltage of the fifth sampling resistor. To prevent distortion, a 1.65V bias voltage is added. The voltage is collected by the ADC and transmitted to the MCU.

[0067] Get the voltage of the sixth sampling resistor: ; The MCU performs a 100ms voltage test on the signal to ensure that the voltage is not instantaneous.

[0068] Furthermore, S5 includes: If the adhesion test result is normal, unplug the charging gun to end charging; If the adhesion detection result is abnormal, a fault command is issued and the charging connection is disconnected.

[0069] In the above implementation process, the charging gun is pulled out or a fault instruction is issued according to different adhesion detection results to ensure the safe and stable operation of the charging process, timely discover the abnormalities in the charging process, and avoid safety hazards.

[0070] When the signal value detected by the MCU is less than the second threshold, it is determined that the high-voltage DC contactor is not stuck, and the MCU issues an instruction that the charging gun can be pulled out normally.

[0071] When the signal value detected by the MCU is greater than the second threshold, it is determined that the high-voltage DC contactor is stuck. The MCU issues a fault command and alerts the user through the charging pile screen, Bluetooth communication, and 4G / 5G.

[0072] This application can implement two detections: reverse connection detection before charging and adhesion detection after charging. The detection times are different and can be performed through the same circuit without worrying about interference between the sampling signals. The circuit utilization rate is high, maintenance is simple, and the alarm is visual.

[0073] Example 2 In order to execute the method corresponding to the above embodiment 1 to achieve the corresponding functions and technical effects, a charging safety detection device is provided below, such as Figure 3 As shown, the device includes: Data acquisition module 1, used to obtain the voltage of the first sampling resistor; Reverse connection detection module 2, used to perform reverse connection detection according to the voltage of the first sampling resistor to obtain a reverse connection detection result; Charging start module 3, used to start charging the charging gun and vehicle interface if the detection result is that the connection is correct; Adhesion detection module 4, used to obtain the second sampling resistor voltage after charging is completed and before the charging gun is unplugged, perform adhesion detection based on the second sampling resistor voltage, and obtain an adhesion detection result; The charging end module 5 is used to pull out the charging gun according to the adhesion detection result to end charging.

[0074] In the above implementation process, through the improvement of the sampling method and the detection method and the rational use of components, the reverse connection detection and adhesion detection can be integrated, the use of components can be reduced, the detection efficiency can be improved, the components can be used rationally and effectively, the cost can be reduced, the charging process can be coordinated, and incompatibility problems are less likely to occur.

[0075] Furthermore, the device also includes a connection detection module, which is used to: Connect the charging gun and the vehicle interface. After the charging gun is connected to the vehicle interface and before charging starts, control the high-voltage DC contactor to close to determine whether the charging gun and the vehicle interface are connected successfully. If so, continue to obtain the first sampling resistor voltage. If not, enter the sleep state.

[0076] In the above implementation process, before reverse connection detection, the connection status of the charging gun and the vehicle interface is confirmed, which can effectively improve the safety preparation before charging, reduce safety hazards, and provide support for subsequent reverse connection detection and adhesion detection.

[0077] Furthermore, the data acquisition module 1 is also used to: After dividing the positive and negative voltages of the high-voltage DC contactor, the sampling resistor voltage is sampled to obtain a first sampling resistor voltage.

[0078] In the above implementation process, the positive and negative voltages of the high-voltage DC contactor are divided and then sampled, so that only whether the voltage is reversed can be detected without complex detection, which can simplify the detection process and reduce circuit complexity.

[0079] Furthermore, the reverse connection detection module 2 is further configured to: amplifying the first sampling resistor voltage to obtain a third sampling resistor voltage; Amplifying the third sampling resistor voltage and adding a bias voltage to obtain a fourth sampling resistor voltage; Performing voltage detection on the fourth sampling resistor voltage; If the detected signal value is greater than the first threshold, the charging gun and the vehicle interface are correctly connected, and the reverse connection detection result is determined to be correctly connected; If the detected signal value is less than or equal to the first threshold, the connection between the charging gun and the vehicle interface is incorrect, and the reverse connection detection result is determined to be a connection error.

[0080] In the above implementation process, by amplifying the sampled first sampling resistor voltage twice, the sampled voltage data can be accurately and effectively transmitted, thereby preventing distortion and ensuring the accuracy and authenticity of the detection result.

[0081] Furthermore, the charging start module 3 is also used for: If the detection result is a connection error, a fault command is issued and the charging stop procedure is started.

[0082] In the above implementation process, when the detection result is a correct connection, when the detection result is an incorrect connection, different processing methods are adopted according to the detection results to avoid the charging process being affected by the detection process, and effective measures can be taken in time to ensure charging safety.

[0083] Furthermore, the adhesion detection module 4 is also used for: amplifying the second sampling resistor voltage to obtain a fifth sampling resistor voltage; Amplifying the fifth sampling resistor voltage and adding a bias voltage to obtain a sixth sampling resistor voltage; Performing voltage detection on the sixth sampling resistor voltage; If the detected signal value is greater than the second threshold, the gun line connection between the charging gun and the vehicle interface is not stuck, and the sticking detection result is determined to be normal; If the detected signal value is less than or equal to the second threshold, the gun line connection between the charging gun and the vehicle interface is stuck, and the sticking detection result is determined to be abnormal.

[0084] In the above implementation process, adhesion detection is performed on the charging pile and the vehicle interface according to the same circuit, which can improve the utilization rate of the circuit, enhance the detection efficiency, and avoid the situation where abnormalities in the charging process cannot be promptly reported.

[0085] Furthermore, the charging end module 5 is also used for: If the adhesion test result is normal, unplug the charging gun to end charging; If the adhesion detection result is abnormal, a fault command is issued and the charging connection is disconnected.

[0086] In the above implementation process, the charging gun is pulled out or a fault instruction is issued according to different adhesion detection results to ensure the safe and stable operation of the charging process, timely discover the abnormalities in the charging process, and avoid safety hazards.

[0087] The charging safety detection device can implement the method of the above embodiment 1. The options in the above embodiment 1 are also applicable to this embodiment and will not be described in detail here.

[0088] The rest of the contents of the embodiments of this application can refer to the contents of the above-mentioned embodiment 1, and will not be repeated in this embodiment.

[0089] Example 3 An embodiment of the present application provides a new energy vehicle, including the charging safety detection device of embodiment 2.

[0090] Example 4 An embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to perform the charging safety detection method of embodiment 1.

[0091] Optionally, the above-mentioned electronic device may be a server.

[0092] See Figure 4 , Figure 4Schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include a processor 41, a communication interface 42, a memory 43, and at least one communication bus 44. The communication bus 44 is used to enable direct connection and communication between these components.

[0093] Optionally, the electronic device may further include a storage controller and an input / output unit. The memory 43, storage controller, processor 41, peripheral interface, and input / output unit are electrically connected to each other directly or indirectly to achieve data transmission or interaction.

[0094] The input and output unit is used to provide users with the ability to create tasks and to create optional start time periods or preset execution times for the tasks to enable interaction between the user and the server. The input and output unit can be, but is not limited to, a mouse and keyboard.

[0095] I understand. Figure 4 The structure shown is only for illustration, and the electronic device may also include Figure 4 More or fewer components than shown, or with Figure 4 In addition, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the charging safety detection method of the first embodiment.

[0096] An embodiment of the present application further provides a computer program product, which, when running on a computer, enables the computer to execute the method described in the method embodiment.

[0097] The foregoing is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included within the scope of protection of the present application. It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined or explained in subsequent figures.

[0098] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application should be included within the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A charging safety detection method, characterized in that: The method comprises: Obtaining a first sampling resistor voltage; Performing reverse connection detection according to the voltage of the first sampling resistor to obtain a reverse connection detection result; If the detection result shows that the connection is correct, charging is started on the charging gun and the vehicle interface; After charging is completed and before the charging gun is pulled out, a second sampling resistor voltage is obtained, and a sticking detection is performed based on the second sampling resistor voltage to obtain a sticking detection result; The charging gun is pulled out according to the adhesion detection result to terminate charging.

2. The charging safety detection method according to claim 1, characterized in that: Before the step of obtaining the first sampling resistor voltage, the method further includes: Connect the charging gun and the vehicle interface. After the charging gun is connected to the vehicle interface and before charging starts, control the high-voltage DC contactor to close and determine whether the charging gun and the vehicle interface are successfully connected. If so, continue to obtain the first sampling resistor voltage; if not, enter the sleep state.

3. The charging safety detection method according to claim 1, characterized in that: The step of obtaining the first sampling resistor voltage includes: After dividing the positive and negative voltages of the high-voltage DC contactor, sampling the sampling resistor voltage is performed to obtain the first sampling resistor voltage.

4. The charging safety detection method according to claim 1, characterized in that: The step of performing reverse connection detection according to the voltage of the first sampling resistor to obtain a reverse connection detection result includes: amplifying the first sampling resistor voltage to obtain a third sampling resistor voltage; amplifying the third sampling resistor voltage and adding a bias voltage to obtain a fourth sampling resistor voltage; Performing voltage detection on the fourth sampling resistor voltage; If the detected signal value is greater than the first threshold, the charging gun and the gun line of the vehicle interface are correctly connected, and the reverse connection detection result is determined to be a correct connection; If the detected signal value is less than or equal to the first threshold, the gun line between the charging gun and the vehicle interface is incorrectly connected, and the reverse connection detection result is determined to be a connection error.

5. The charging safety detection method according to claim 1, characterized in that: If the detection result shows that the connection is correct, the step of starting charging of the charging gun and the vehicle interface also includes: If the detection result is a connection error, a fault instruction is issued to start the charging stop procedure.

6. The charging safety detection method according to claim 1, characterized in that: The step of performing adhesion detection according to the second sampling resistor voltage to obtain an adhesion detection result includes: amplifying the second sampling resistor voltage to obtain a fifth sampling resistor voltage; amplifying the fifth sampling resistor voltage and adding a bias voltage to obtain a sixth sampling resistor voltage; Performing voltage detection on the sixth sampling resistor voltage; If the detected signal value is greater than a second threshold, the gun line connection between the charging gun and the vehicle interface is not stuck, and the sticking detection result is determined to be normal; If the detected signal value is less than or equal to the second threshold, adhesion occurs between the gun line connection between the charging gun and the vehicle interface, and the adhesion detection result is determined to be abnormal.

7. The charging safety detection method according to claim 1, characterized in that: The step of pulling out the charging gun according to the adhesion detection result to end charging includes: If the adhesion detection result is normal, unplug the charging gun to end charging; If the adhesion detection result is abnormal, a fault instruction is issued and the charging connection is disconnected.

8. A charging safety detection device, characterized in that: The device comprises: A data acquisition module, configured to obtain a voltage of a first sampling resistor; a reverse connection detection module, configured to perform reverse connection detection according to the voltage of the first sampling resistor to obtain a reverse connection detection result; A charging start module is used to start charging the charging gun and the vehicle interface if the detection result shows that the connection is correct; a sticking detection module, configured to obtain a second sampling resistor voltage after charging is completed and before the charging gun is removed, and perform sticking detection based on the second sampling resistor voltage to obtain a sticking detection result; The charging end module is used to pull out the charging gun according to the adhesion detection result to end charging.

9. A new energy vehicle, characterized in that: Including the charging safety detection device as described in claim 8.

10. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to claims 1 to 7 when executing the computer program.