A safe charging method and device for an electric vehicle, an electronic device, and a storage medium

By generating continuous charging status records and adaptively adjusting them according to the safety judgment conditions of different charging control stages, the problem of frequent triggering of protection actions in the prior art is solved, and the continuity and stability of charging safety control are achieved.

CN123040663APending Publication Date: 2026-11-06JIANGMEN POWER SUPPLY BUREAU OF GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611520058.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-29
Publication Date
2026-11-06

AI Technical Summary

Technical Problem

In existing technologies, charging safety is determined solely by comparing instantaneous sampling information with fixed preset thresholds, which leads to frequent triggering of protection actions and affects the continuity of charging safety control.

Method used

By acquiring the voltage, current, temperature, insulation status, charging gun connection status, communication status, contactor status, and power output status of the charging pile during the protected charging cycle, a continuous charging status record is generated. The record is then adaptively adjusted according to the safety judgment conditions of different charging control stages to avoid using fixed thresholds for judgment.

Benefits of technology

It improves the continuity of charging safety control, avoids frequent triggering of protection actions, and ensures the stability and safety of the charging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123040663A_ABST
    Figure CN123040663A_ABST
Patent Text Reader

Abstract

This invention discloses a safe charging method, device, electronic device, and storage medium for electric vehicles, belonging to the field of electric vehicle charging technology. The method includes: acquiring a charging status record of a charging pile during a charging cycle to be protected; determining the corresponding current charging control stage based on the charging status record; determining the corresponding safety judgment condition based on the previous charging control stage; comparing the charging status record with the safety judgment condition to determine the protection level; and controlling the power output of the charging pile according to the protection level. By implementing this invention, the problem of existing technologies relying solely on the comparison results of instantaneous sampling information and fixed preset thresholds for charging safety judgment, which leads to frequent triggering of protection actions and subsequent switching between protection actions and normal operation, affecting the continuity of charging safety control, can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electric vehicle charging technology, and specifically to a safe charging method, device, electronic device, and storage medium for electric vehicles. Background Technology

[0002] The field of charging control technology mainly involves the transmission and control of electrical energy between charging equipment, powered vehicles, power interfaces, power converters, contactors, charging guns and detection devices. It typically collects voltage, current, temperature, insulation status, connection status and communication messages, and performs connection confirmation, parameter judgment, power output and shutdown processing based on charging conditions, equipment status and control commands.

[0003] Traditional mobile charging vehicle charging safety protection and control methods refer to the methods of status detection and charging control during the process of power supply from the mobile charging vehicle to the vehicle. Typically, charging circuit parameters are obtained by voltage sensors, current sensors, temperature sensors and insulation detection devices. These parameters are read by the on-board controller and compared with preset thresholds and connection status. After the charging gun connection is confirmed, the contactor is controlled to close and power output is started. During charging, operating parameters are continuously read. When the detected value reaches the set protection condition or the communication status is abnormal, the power output is controlled to stop and the contactor is disconnected.

[0004] When supplying power to a vehicle, the existing technology involves the on-board controller reading voltage, current, temperature, insulation status, and connection and communication information to form instantaneous sampling information. Then, based on the comparison between the instantaneous sampling information and a fixed preset threshold, the controller controls the power output and contactor operation. However, since voltage and current signals fluctuate during charging, relying solely on the comparison between the instantaneous sampling information and the fixed preset threshold can easily cause protection actions to be frequently triggered, leading to switching between protection actions and normal operation, which affects the continuity of charging safety control. Summary of the Invention

[0005] This invention provides a safe charging method, device, electronic device, and storage medium for electric vehicles, which can solve the problem that the existing technology relies solely on the comparison results of instantaneous sampling information and fixed preset thresholds to determine charging safety, resulting in frequent triggering of protection actions and causing switching between protection actions and normal operation, thus affecting the continuity of charging safety control.

[0006] An embodiment of the present invention provides a safe charging method for electric vehicles, comprising: The system acquires the voltage, current, temperature, insulation status, charging gun connection status, communication status, contactor status, and power output status of the charging pile during the protected charging cycle, and generates a continuous charging status record. The current charging control stage is determined based on the communication status, contactor status, and power output status of each charging status record in the continuous charging status record. The corresponding safety judgment conditions are determined based on the current charging control stage; the safety judgment conditions are different for different charging control stages. The continuous charging status record is compared with the safety judgment conditions to determine the corresponding charging parameter deviation state, the charging parameter change state characterizing the change of the charging parameter deviation state, and the charging parameter abnormal continuous state characterizing the duration of the change state. The protection level is determined based on the changes in charging parameters and the continuous abnormal state of charging parameters. The power output of the charging pile is controlled according to the protection level.

[0007] Furthermore, the voltage, current, temperature, insulation status, charging gun connection status, communication status, contactor status, and power output status of the charging pile during the protected charging cycle are acquired to generate a continuous charging status record, including: The voltage, current, temperature, insulation status, charging gun connection status, communication status, contactor status, and power output status are marked with the sampling period of the charging cycle to be protected, and a charging status record corresponding to each sampling moment in the sampling period is generated. The charging status records are sorted according to the time sequence of the sampling period to generate a continuous charging status record.

[0008] Furthermore, the corresponding current charging control stage is determined based on the communication status, contactor status, and power output status of each charging status record in the continuous charging status record, including: The communication status is compared with the preset communication validity conditions. When the communication status does not meet the preset communication validity conditions, the communication status is determined to be a communication abnormal stage, and the communication abnormal stage is used as the current charging control stage. When the communication status meets the preset effective communication conditions, the contactor is connected to the charging circuit, and the power output status indicates that there is charging power output, the current charging control stage is determined as the charging output stage. When the communication status meets the preset communication validity conditions, the contactor is connected to the charging circuit, and the power output status is stopped, the current charging control stage is determined as the stop output stage. When the communication status meets the preset communication validity conditions, the power output status is stopped, and the contactor status indicates that the charging circuit has been disconnected, the current charging control stage is determined as the contactor disconnection stage.

[0009] Furthermore, based on the current charging control stage, the corresponding safety judgment conditions are determined, including: The current charging control stage is compared with the preset set of safety judgment conditions, and the safety judgment conditions corresponding to the current charging control stage are extracted from the set of safety judgment conditions. When the current charging control stage is the charging output stage, the safety judgment conditions include: the safety boundaries of voltage, current, temperature and insulation detection values ​​under normal operation. When the current charging control phase is the output stop phase, the safety judgment conditions include: the judgment range for stopping output power, the judgment range for stopping output current, and the safety boundaries for voltage, temperature, and insulation status to execute the stop phase. When the current charging control phase is the contactor disconnection phase, the safety judgment conditions include: the judgment range for stopping the output power, the electrical quantity of the output circuit meeting the safety boundary for contactor disconnection, and the insulation state meeting the allowable conditions for contactor disconnection. When the current charging control phase is a communication failure phase, the safety judgment conditions include: the judgment range for stopping output power and the allowable conditions for prohibiting continued charging.

[0010] Furthermore, the continuous charging state records are compared with safety judgment conditions to determine the corresponding charging parameter deviation state, the charging parameter change state characterizing the change in the charging parameter deviation state, and the charging parameter abnormality persistence state characterizing the persistence of the change state, including: Based on the current charging control stage, determine the corresponding comparison parameters and safety judgment conditions; For each parameter to be compared, compare the parameter to be compared with the corresponding security judgment condition; When the parameters to be compared meet the corresponding safety judgment conditions, the deviation of the charging parameters is determined to be normal; otherwise, it is determined to be a deviation. When the charging parameter of the parameter to be compared remains in a normal state or changes from a deviation to a normal state, the change state of the charging parameter is determined to be stable; otherwise, it is determined to be abnormal. If the abnormal charging parameter change state continuously reaches the preset sampling number or preset duration, the abnormal charging parameter state is determined to be continuous; otherwise, the abnormal charging parameter state is determined to be non-continuous. In the current charging control stage, which is the charging output stage, the voltage, current, temperature and insulation detection values ​​at each sampling time are used as parameters to be compared. When the current charging control phase is the output stop phase, the power output status, current, voltage, temperature and insulation status at each sampling time are used as the parameters to be compared. When the current charging control phase is the contactor disconnection phase, the power output state, output circuit electrical quantity and insulation state at each sampling moment are used as parameters to be compared. When the current charging control phase is a communication failure phase, the power output status and charging control permission status at each sampling time are used as parameters to be compared.

[0011] Furthermore, the protection level is determined based on the changes in charging parameters and the continuous abnormality of charging parameters, including: When the charging parameter change state is stable and the abnormal charging parameter state is not continuous, charging will be allowed as a candidate protection action. When the charging parameter change status is abnormal and the abnormal charging parameter duration status is not continuous, power adjustment will be used as a candidate protection action. When the abnormal charging parameters persist, stopping the output will be used as a candidate protection action. When the candidate protection action is to allow charging, the protection level is determined to be Level 1; when the candidate protection action is to adjust power, the protection level is determined to be Level 2; when the candidate protection action is to stop output, the protection level is determined to be Level 3; wherein, Level 1 to Level 3 are progressively higher.

[0012] Furthermore, the power output of the charging pile is controlled according to the protection level, including: When the protection level is at the first level, the charging pile is controlled to maintain the current power output; When the protection level is the second level, the control charging pile changes the power output according to the power adjustment command corresponding to the protection level. When the protection level is level 3, the charging pile will stop outputting power.

[0013] Based on the above method embodiments, the present invention provides corresponding apparatus embodiments.

[0014] One embodiment of the present invention provides a safe charging device for electric vehicles, comprising: a charging status acquisition module, a current charging control status determination module, a safety judgment condition determination module, a charging parameter status determination module, a protection level determination module, and a charging operation execution module; The charging status acquisition module is used to acquire the voltage, current, temperature, insulation status, charging gun connection status, communication status, contactor status, and power output status of the charging pile during the protected charging cycle, and generate a continuous charging status record. The current charging control state determination module is used to determine the corresponding current charging control stage based on the communication state, contactor state, and power output state of each charging state record in the continuous charging state record. The safety judgment condition determination module is used to determine the corresponding safety judgment condition based on the current charging control stage; wherein, the safety judgment condition is different for different charging control stages. The charging parameter state determination module is used to compare the continuous charging state record with the safety judgment condition to determine the corresponding charging parameter deviation state, the charging parameter change state characterizing the change of the charging parameter deviation state, and the charging parameter abnormal continuous state characterizing the duration of the change state. The protection level determination module is used to determine the protection level based on the charging parameter change state and the abnormal continuous state of the charging parameters. The charging operation execution module is used to control the power output of the charging pile according to the protection level.

[0015] Based on the above method embodiments, the present invention provides corresponding electronic device embodiments.

[0016] An embodiment of the present invention provides an electronic device, characterized in that it includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the safe charging method for electric vehicles as described in any of the above-described method embodiments.

[0017] Based on the above method embodiments, the present invention provides corresponding storage medium embodiments.

[0018] An embodiment of the present invention provides a storage medium, characterized in that the storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device where the storage medium is located to perform any one of the safe charging methods for electric vehicles described in the above-described method embodiments. Compared with the prior art, the present invention has the following beneficial effects: This application discloses a safe charging method for electric vehicles. Compared with the prior art, this application determines the corresponding charging control stage based on continuous charging state recording, and then determines the corresponding safety judgment conditions. Since the safety judgment conditions corresponding to different charging control stages are different, this application can adaptively adjust the safety judgment conditions according to the actual continuous charging situation, and no longer uses a fixed threshold for judgment, making the judgment conditions more consistent with the actual charging situation. Secondly, power output control is performed based on each data item of the continuous charging state recording, and instantaneous sampling information is no longer used for judgment, avoiding the influence of reasonable parameter fluctuations, thereby avoiding frequent triggering of protection actions and improving the continuity of charging safety. Attached Figure Description

[0019] Figure 1 This is a schematic flowchart of a safe charging method for electric vehicles provided in an embodiment of the present invention.

[0020] Figure 2This is a schematic diagram of the structure of a safe charging device for electric vehicles provided in an embodiment of the present invention. Detailed Implementation

[0021] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0022] like Figure 1 As shown, to address the problem that existing technologies rely solely on the comparison between instantaneous sampling information and fixed preset thresholds for charging safety determination, leading to frequent triggering of protection actions and resulting in switching between protection actions and normal operation, thus affecting the continuity of charging safety control, an embodiment of the present invention provides a safe charging method for electric vehicles, comprising at least the following steps: Step S1: Obtain the voltage, current, temperature, insulation status, charging gun connection status, communication status, contactor status, and power output status of the charging pile during the charging cycle to be protected, and generate a continuous charging status record.

[0023] In a preferred embodiment, the voltage, current, temperature, insulation status, charging gun connection status, communication status, contactor status, and power output status of the charging pile during the protected charging cycle are acquired to generate a continuous charging status record, including: The voltage, current, temperature, insulation status, charging gun connection status, communication status, contactor status, and power output status are marked with the sampling period of the charging cycle to be protected, and a charging status record corresponding to each sampling moment in the sampling period is generated. The charging status records are sorted according to the time sequence of the sampling period to generate a continuous charging status record.

[0024] In the specific implementation process, the voltage record is a numerical voltage sampling value and a Boolean voltage validity flag, the current record is a numerical current sampling value and a Boolean current validity flag, the temperature record is a numerical temperature sampling value and a Boolean temperature validity flag, and the insulation status record is a numerical insulation detection value and a Boolean insulation normal or abnormal judgment flag. The connection status is recorded as a Boolean charging gun insertion flag, a Boolean latching feedback flag, and an enumerated connection normal or disconnection flag. The communication status is recorded as a Boolean communication message reception flag, a Boolean communication valid flag, a numerical message sequence number or count value, and a Boolean communication timeout flag. The contactor status is recorded as a Boolean closing command, a Boolean closing feedback, a Boolean opening command, a Boolean opening feedback, and an enumerated current closing or opening flag. The power output status is recorded as a Boolean output enable flag, a numerical output voltage value, a numerical output current value, a numerical output power value, and an enumerated output run or stop flag. Each data point is associated with the sampling time corresponding to the protection period. All state data in the same charging state record are mapped to the same time base to form a charging state record. The charging state records at each sampling time are sorted according to the protection period so that the same data can reflect the state changes between consecutive sampling times.

[0025] Step S2: Determine the corresponding current charging control stage based on the communication status, contactor status, and power output status of each charging status record in the continuous charging status record.

[0026] In a preferred embodiment, the current charging control stage is determined based on the communication status, contactor status, and power output status of each charging status record in the continuous charging status record, including: The communication status is compared with the preset communication validity conditions. When the communication status does not meet the preset communication validity conditions, the communication status is determined to be a communication abnormal stage, and the communication abnormal stage is used as the current charging control stage. When the communication status meets the preset effective communication conditions, the contactor is connected to the charging circuit, and the power output status indicates that there is charging power output, the current charging control stage is determined as the charging output stage. When the communication status meets the preset communication validity conditions, the contactor is connected to the charging circuit, and the power output status is stopped, the current charging control stage is determined as the stop output stage. When the communication status meets the preset communication validity conditions, the power output status is stopped, and the contactor status indicates that the charging circuit has been disconnected, the current charging control stage is determined as the contactor disconnection stage.

[0027] In specific implementation, the preset communication validity conditions include: receiving a communication message agreed upon with the vehicle in the current sampling period, the message's frame identifier, length, and verification information passing integrity verification, the message sequence number or counting relationship being continuous, and the time of the most recent valid message not exceeding the preset valid time window and carrying a valid charging control permission; if any of the above conditions are not met, the communication status will be marked as invalid.

[0028] Step S3: Determine the corresponding safety judgment conditions based on the current charging control stage; the safety judgment conditions are different for different charging control stages.

[0029] In a preferred embodiment, determining the corresponding safety judgment conditions based on the current charging control stage includes: The current charging control stage is compared with the preset set of safety judgment conditions, and the safety judgment conditions corresponding to the current charging control stage are extracted from the set of safety judgment conditions. When the current charging control stage is the charging output stage, the safety judgment conditions include: the safety boundaries of voltage, current, temperature and insulation detection values ​​under normal operation. When the current charging control phase is the output stop phase, the safety judgment conditions include: the judgment range for stopping output power, the judgment range for stopping output current, and the safety boundaries for voltage, temperature, and insulation status to execute the stop phase. When the current charging control phase is the contactor disconnection phase, the safety judgment conditions include: the judgment range for stopping the output power, the electrical quantity of the output circuit meeting the safety boundary for contactor disconnection, and the insulation state meeting the allowable conditions for contactor disconnection. When the current charging control phase is a communication failure phase, the safety judgment conditions include: the judgment range for stopping output power and the allowable conditions for prohibiting continued charging.

[0030] In the specific implementation process, the specific values ​​of the judgment boundaries of each parameter in the safety judgment conditions corresponding to different current charging control stages are preset conditions.

[0031] Step S4: Compare the continuous charging state record with the safety judgment conditions to determine the corresponding charging parameter deviation state, the charging parameter change state characterizing the change of the charging parameter deviation state, and the charging parameter abnormality continuous state characterizing the duration of the change state.

[0032] In a preferred embodiment, the continuous charging state record is compared with safety judgment conditions to determine the corresponding charging parameter deviation state, the charging parameter change state characterizing the change in the charging parameter deviation state, and the charging parameter abnormality persistence state characterizing the persistence of the change state, including: Based on the current charging control stage, determine the corresponding comparison parameters and safety judgment conditions; For each parameter to be compared, compare the parameter to be compared with the corresponding security judgment condition; When the parameters to be compared meet the corresponding safety judgment conditions, the deviation of the charging parameters is determined to be normal; otherwise, it is determined to be a deviation. When the charging parameter of the parameter to be compared remains in a normal state or changes from a deviation to a normal state, the change state of the charging parameter is determined to be stable; otherwise, it is determined to be abnormal. If the abnormal charging parameter change state continuously reaches the preset sampling number or preset duration, the abnormal charging parameter state is determined to be continuous; otherwise, the abnormal charging parameter state is determined to be non-continuous. In the current charging control stage, which is the charging output stage, the voltage, current, temperature and insulation detection values ​​at each sampling time are used as parameters to be compared. When the current charging control phase is the output stop phase, the power output status, current, voltage, temperature and insulation status at each sampling time are used as the parameters to be compared. When the current charging control phase is the contactor disconnection phase, the power output state, output circuit electrical quantity and insulation state at each sampling moment are used as parameters to be compared. When the current charging control phase is a communication failure phase, the power output status and charging control permission status at each sampling time are used as parameters to be compared.

[0033] In the specific implementation process, for numerical objects such as voltage, current, and temperature, it is determined whether the current value falls within the allowable range, whether it exceeds the upper or lower limit, and the direction of change of adjacent sampled values. For insulation status, it is determined whether the insulation detection value and the insulation judgment mark simultaneously meet the allowable conditions.

[0034] The charging parameter change states include stable states and abnormal states; when the parameter change at adjacent sampling times is within a preset change range, or when the parameter recovers to the corresponding safety boundary, it is determined to be a stable state; when the parameter change exceeds the preset change range, or when the parameter continuously shifts out of the corresponding safety boundary, it is determined to be an abnormal state.

[0035] Step S5: Determine the protection level based on the changes in charging parameters and the continuous abnormal state of charging parameters.

[0036] In a preferred embodiment, the protection level is determined based on the charging parameter change state and the continuous abnormal charging parameter state, including: When the charging parameter change state is stable and the abnormal charging parameter state is not continuous, charging will be allowed as a candidate protection action. When the charging parameter change status is abnormal and the abnormal charging parameter duration status is not continuous, power adjustment will be used as a candidate protection action. When the abnormal charging parameters persist, stopping the output will be used as a candidate protection action. When the candidate protection action is to allow charging, the protection level is determined to be Level 1; when the candidate protection action is to adjust power, the protection level is determined to be Level 2; when the candidate protection action is to stop output, the protection level is determined to be Level 3; wherein, Level 1 to Level 3 are progressively higher.

[0037] In the specific implementation process, the connection status meets the charging conditions as follows: the connection detection circuit confirms that the charging gun and the vehicle interface have been inserted into place and remain locked, the connection confirmation signal is valid and there is no disconnection or loss of lock within the continuous sampling period.

[0038] Step S6: Control the power output of the charging pile according to the protection level.

[0039] In a preferred embodiment, controlling the power output of the charging pile according to the protection level includes: When the protection level is at the first level, the charging pile is controlled to maintain the current power output; When the protection level is the second level, the control charging pile changes the power output according to the power adjustment command corresponding to the protection level. When the protection level is level 3, the charging pile will stop outputting power.

[0040] In the specific implementation process, the power adjustment command is generated by reading the target power direction, target power range or adjustment step size corresponding to the current charging parameter deviation state, charging parameter change state and charging parameter abnormal continuous state. When the test results indicate that the output power needs to be reduced, a power adjustment command with the reduction direction and target range is generated. When the detection results allow for output recovery, a power adjustment command with a regression direction and target range is generated, and the target value is limited to the power range allowed in this stage.

[0041] The specific circumstances under which the power output state meets the disconnection electrical condition are as follows: the power output execution component of the charging pile feeds back a stop output status code or the output enable is invalid; the output power or output current in the power output state has fallen into the stop range specified by the safety judgment condition; and the vehicle controller verifies that the above stop flag and electrical quantity are both satisfied in the same sampling cycle before determining that the disconnection condition is met.

[0042] In this invention, by continuously recording the charging status, the corresponding charging control stage is determined, and then the corresponding safety judgment condition is determined. Since the safety judgment conditions are different for different charging control stages, this application can adaptively adjust the safety judgment conditions according to the actual continuous charging situation, and no longer use a fixed threshold for judgment, so that the judgment conditions are more in line with the actual charging situation. Secondly, power output control is performed based on each data item of the continuous charging status record, and instantaneous sampling information is no longer used for judgment, avoiding the influence of reasonable parameter fluctuations, thereby avoiding frequent triggering of protection actions and improving the continuity of charging safety.

[0043] Based on the above method embodiments, the present invention provides corresponding apparatus embodiments.

[0044] like Figure 2 As shown, an embodiment of the present invention provides a safe charging device for electric vehicles, including: a charging status acquisition module, a current charging control status determination module, a safety judgment condition determination module, a charging parameter status determination module, a protection level determination module, and a charging operation execution module; The charging status acquisition module is used to acquire the voltage, current, temperature, insulation status, charging gun connection status, communication status, contactor status, and power output status of the charging pile during the protected charging cycle, and generate a continuous charging status record. The current charging control state determination module is used to determine the corresponding current charging control stage based on the communication state, contactor state, and power output state of each charging state record in the continuous charging state record. The safety judgment condition determination module is used to determine the corresponding safety judgment condition based on the current charging control stage; wherein, the safety judgment condition is different for different charging control stages. The charging parameter state determination module is used to compare the continuous charging state record with the safety judgment condition to determine the corresponding charging parameter deviation state, the charging parameter change state characterizing the change of the charging parameter deviation state, and the charging parameter abnormal continuous state characterizing the duration of the change state. The protection level determination module is used to determine the protection level based on the charging parameter change state and the abnormal continuous state of the charging parameters. The charging operation execution module is used to control the power output of the charging pile according to the protection level.

[0045] In a preferred embodiment, the charging status acquisition module is used to acquire the voltage, current, temperature, insulation status, charging gun connection status, communication status, contactor status, and power output status of the charging pile during the protected charging cycle, and generate a continuous charging status record, including: The voltage, current, temperature, insulation status, charging gun connection status, communication status, contactor status, and power output status are marked with the sampling period of the charging cycle to be protected, and a charging status record corresponding to each sampling moment in the sampling period is generated. The charging status records are sorted according to the time sequence of the sampling period to generate a continuous charging status record.

[0046] In a preferred embodiment, the current charging control state determination module is used to determine the corresponding current charging control stage based on the communication state, contactor state, and power output state of each charging state record in the continuous charging state record, including: The communication status is compared with the preset communication validity conditions. When the communication status does not meet the preset communication validity conditions, the communication status is determined to be a communication abnormal stage, and the communication abnormal stage is used as the current charging control stage. When the communication status meets the preset effective communication conditions, the contactor is connected to the charging circuit, and the power output status indicates that there is charging power output, the current charging control stage is determined as the charging output stage. When the communication status meets the preset communication validity conditions, the contactor is connected to the charging circuit, and the power output status is stopped, the current charging control stage is determined as the stop output stage. When the communication status meets the preset communication validity conditions, the power output status is stopped, and the contactor status indicates that the charging circuit has been disconnected, the current charging control stage is determined as the contactor disconnection stage.

[0047] In a preferred embodiment, the safety judgment condition determination module is used to determine the corresponding safety judgment condition based on the current charging control stage, including: The current charging control stage is compared with the preset set of safety judgment conditions, and the safety judgment conditions corresponding to the current charging control stage are extracted from the set of safety judgment conditions. When the current charging control stage is the charging output stage, the safety judgment conditions include: the safety boundaries of voltage, current, temperature and insulation detection values ​​under normal operation. When the current charging control phase is the output stop phase, the safety judgment conditions include: the judgment range for stopping output power, the judgment range for stopping output current, and the safety boundaries for voltage, temperature, and insulation status to execute the stop phase. When the current charging control phase is the contactor disconnection phase, the safety judgment conditions include: the judgment range for stopping the output power, the electrical quantity of the output circuit meeting the safety boundary for contactor disconnection, and the insulation state meeting the allowable conditions for contactor disconnection. When the current charging control phase is a communication failure phase, the safety judgment conditions include: the judgment range for stopping output power and the allowable conditions for prohibiting continued charging.

[0048] In a preferred embodiment, the charging parameter state determination module is used to compare the continuous charging state record with safety judgment conditions to determine the corresponding charging parameter deviation state, the charging parameter change state characterizing the change in the charging parameter deviation state, and the charging parameter abnormality persistence state characterizing the persistence of the change state, including: Based on the current charging control stage, determine the corresponding comparison parameters and safety judgment conditions; For each parameter to be compared, compare the parameter to be compared with the corresponding security judgment condition; When the parameters to be compared meet the corresponding safety judgment conditions, the deviation of the charging parameters is determined to be normal; otherwise, it is determined to be a deviation. When the charging parameter of the parameter to be compared remains in a normal state or changes from a deviation to a normal state, the change state of the charging parameter is determined to be stable; otherwise, it is determined to be abnormal. If the abnormal charging parameter change state continuously reaches the preset sampling number or preset duration, the abnormal charging parameter state is determined to be continuous; otherwise, the abnormal charging parameter state is determined to be non-continuous. In the current charging control stage, which is the charging output stage, the voltage, current, temperature and insulation detection values ​​at each sampling time are used as parameters to be compared. When the current charging control phase is the output stop phase, the power output status, current, voltage, temperature and insulation status at each sampling time are used as the parameters to be compared. When the current charging control phase is the contactor disconnection phase, the power output state, output circuit electrical quantity and insulation state at each sampling moment are used as parameters to be compared. When the current charging control phase is a communication failure phase, the power output status and charging control permission status at each sampling time are used as parameters to be compared.

[0049] In a preferred embodiment, the protection level determination module is used to determine the protection level based on the charging parameter change state and the abnormal charging parameter persistence state, including: When the charging parameter change state is stable and the abnormal charging parameter state is not continuous, charging will be allowed as a candidate protection action. When the charging parameter change status is abnormal and the abnormal charging parameter duration status is not continuous, power adjustment will be used as a candidate protection action. When the abnormal charging parameters persist, stopping the output will be used as a candidate protection action. When the candidate protection action is to allow charging, the protection level is determined to be Level 1; when the candidate protection action is to adjust power, the protection level is determined to be Level 2; when the candidate protection action is to stop output, the protection level is determined to be Level 3; wherein, Level 1 to Level 3 are progressively higher.

[0050] In a preferred embodiment, the charging operation execution module is used to control the power output of the charging pile according to the protection level, including: When the protection level is at the first level, the charging pile is controlled to maintain the current power output; When the protection level is the second level, the control charging pile changes the power output according to the power adjustment command corresponding to the protection level. When the protection level is level 3, the charging pile will stop outputting power.

[0051] It should be noted that the embodiments of the device described above correspond to the embodiments of the present invention described above, and can realize the safe charging method for electric vehicles described in any one of the present invention. Furthermore, the embodiments of the device described above are merely illustrative. The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Additionally, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between modules indicates that they have a communication connection, which can be specifically implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without creative effort.

[0052] Based on the above-described method embodiments of the present invention, a corresponding embodiment of an electronic device is provided.

[0053] An embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements any of the above-described safe charging methods for electric vehicles of the present invention, or, when the processor executes the computer program, it implements the functions of each module in the above-described device embodiments.

[0054] For example, the computer program may be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in the terminal device.

[0055] The terminal device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.

[0056] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the terminal device, connecting all parts of the terminal device via various interfaces and lines.

[0057] The memory can be used to store the computer programs and / or modules. The processor implements various functions of the terminal device by running or executing the computer programs and / or modules stored in the memory and by calling data stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function, etc.; the data storage area may store data created based on the use of the mobile phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital card (SD card), flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0058] Based on the above method embodiments, the present invention provides corresponding storage medium embodiments; Another embodiment of the present invention provides a storage medium including a stored computer program, wherein, when the computer program is executed, the device where the storage medium is located controls the execution of any of the above-described safe charging methods for electric vehicles of the present invention.

[0059] The aforementioned storage medium is a computer-readable storage medium, and the computer program includes computer program code, which may be in the form of source code, object code, executable file, or certain intermediate forms. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.

[0060] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of those different embodiments or examples.

[0061] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A safe charging method of an electric vehicle, characterized by, include: The system acquires the voltage, current, temperature, insulation status, charging gun connection status, communication status, contactor status, and power output status of the charging pile during the protected charging cycle, and generates a continuous charging status record. The current charging control stage is determined based on the communication status, contactor status, and power output status of each charging status record in the continuous charging status record. The corresponding safety judgment conditions are determined based on the current charging control stage; the safety judgment conditions are different for different charging control stages. The continuous charging status record is compared with the safety judgment conditions to determine the corresponding charging parameter deviation state, the charging parameter change state characterizing the change of the charging parameter deviation state, and the charging parameter abnormal continuous state characterizing the duration of the change state. The protection level is determined based on the changes in charging parameters and the continuous abnormal state of charging parameters. The power output of the charging pile is controlled according to the protection level.

2. The method of claim 1, wherein the method further comprises: The system acquires the voltage, current, temperature, insulation status, charging gun connection status, communication status, contactor status, and power output status of the charging pile during the protected charging cycle, generating a continuous charging status record, including: The voltage, current, temperature, insulation status, charging gun connection status, communication status, contactor status, and power output status are marked with the sampling period of the charging cycle to be protected, and a charging status record corresponding to each sampling moment in the sampling period is generated. The charging status records are sorted according to the time sequence of the sampling period to generate a continuous charging status record.

3. The method of claim 2, wherein the method further comprises: The current charging control stage is determined based on the communication status, contactor status, and power output status of each charging status record in the continuous charging status log, including: The communication status is compared with the preset communication validity conditions. When the communication status does not meet the preset communication validity conditions, the communication status is determined to be a communication abnormal stage, and the communication abnormal stage is used as the current charging control stage. When the communication status meets the preset effective communication conditions, the contactor is connected to the charging circuit, and the power output status indicates that there is charging power output, the current charging control stage is determined as the charging output stage. When the communication status meets the preset communication validity conditions, the contactor is connected to the charging circuit, and the power output status is stopped, the current charging control stage is determined as the stop output stage. When the communication status meets the preset communication validity conditions, the power output status is stopped, and the contactor status indicates that the charging circuit has been disconnected, the current charging control stage is determined as the contactor disconnection stage.

4. The method of claim 3, wherein the method further comprises: The corresponding safety judgment conditions are determined based on the current charging control stage, including: The current charging control stage is compared with the preset set of safety judgment conditions, and the safety judgment conditions corresponding to the current charging control stage are extracted from the set of safety judgment conditions. When the current charging control stage is the charging output stage, the safety judgment conditions include: the safety boundaries of voltage, current, temperature and insulation detection values ​​under normal operation. When the current charging control phase is the output stop phase, the safety judgment conditions include: the judgment range for stopping output power, the judgment range for stopping output current, and the safety boundaries for voltage, temperature, and insulation status to execute the stop phase. When the current charging control phase is the contactor disconnection phase, the safety judgment conditions include: the judgment range for stopping the output power, the electrical quantity of the output circuit meeting the safety boundary for contactor disconnection, and the insulation state meeting the allowable conditions for contactor disconnection. When the current charging control phase is a communication failure phase, the safety judgment conditions include: the judgment range for stopping output power and the allowable conditions for prohibiting continued charging.

5. The method of claim 4, wherein the method further comprises: The continuous charging status records are compared with safety judgment conditions to determine the corresponding charging parameter deviation states, charging parameter change states characterizing the changes in charging parameter deviation states, and charging parameter abnormal persistence states characterizing the persistence of change states, including: Based on the current charging control stage, determine the corresponding comparison parameters and safety judgment conditions; For each parameter to be compared, compare the parameter to be compared with the corresponding security judgment condition; When the parameters to be compared meet the corresponding safety judgment conditions, the deviation of the charging parameters is determined to be normal; otherwise, it is determined to be a deviation. When the charging parameter of the parameter to be compared remains in a normal state or changes from a deviation to a normal state, the change state of the charging parameter is determined to be stable; otherwise, it is determined to be abnormal. If the abnormal charging parameter change state continuously reaches the preset sampling number or preset duration, the abnormal charging parameter state is determined to be continuous; otherwise, the abnormal charging parameter state is determined to be non-continuous. In the current charging control stage, which is the charging output stage, the voltage, current, temperature and insulation detection values ​​at each sampling time are used as parameters to be compared. When the current charging control phase is the output stop phase, the power output status, current, voltage, temperature and insulation status at each sampling time are used as the parameters to be compared. When the current charging control phase is the contactor disconnection phase, the power output state, output circuit electrical quantity and insulation state at each sampling moment are used as parameters to be compared. When the current charging control phase is a communication failure phase, the power output status and charging control permission status at each sampling time are used as parameters to be compared.

6. The method of claim 5, wherein the method further comprises: The protection level is determined based on the changes in charging parameters and the persistent abnormality of charging parameters, including: When the charging parameter change state is stable and the abnormal charging parameter state is not continuous, charging will be allowed as a candidate protection action. When the charging parameter change status is abnormal and the abnormal charging parameter duration status is not continuous, power adjustment will be used as a candidate protection action. When the abnormal charging parameters persist, stopping the output will be used as a candidate protection action. When the candidate protection action is to allow charging, the protection level is determined to be Level 1; when the candidate protection action is to adjust power, the protection level is determined to be Level 2; when the candidate protection action is to stop output, the protection level is determined to be Level 3; wherein, Level 1 to Level 3 are progressively higher.

7. The method of claim 6, wherein the method further comprises: The power output of the charging pile is controlled according to the protection level, including: When the protection level is at the first level, the charging pile is controlled to maintain the current power output; When the protection level is the second level, the control charging pile changes the power output according to the power adjustment command corresponding to the protection level. When the protection level is level 3, the charging pile will stop outputting power.

8. A safety charging device for an electric vehicle, characterized by comprising: The module includes a charging status acquisition module, a current charging control status determination module, a safety judgment condition determination module, a charging parameter status determination module, a protection level determination module, and a charging operation execution module. The charging status acquisition module is used to acquire the voltage, current, temperature, insulation status, charging gun connection status, communication status, contactor status, and power output status of the charging pile during the protected charging cycle, and generate a continuous charging status record. The current charging control state determination module is used to determine the corresponding current charging control stage based on the communication state, contactor state, and power output state of each charging state record in the continuous charging state record. The safety judgment condition determination module is used to determine the corresponding safety judgment condition based on the current charging control stage; wherein, the safety judgment condition is different for different charging control stages. The charging parameter state determination module is used to compare the continuous charging state record with the safety judgment condition to determine the corresponding charging parameter deviation state, the charging parameter change state characterizing the change of the charging parameter deviation state, and the charging parameter abnormal continuous state characterizing the duration of the change state. The protection level determination module is used to determine the protection level based on the charging parameter change state and the abnormal continuous state of the charging parameters. The charging operation execution module is used to control the power output of the charging pile according to the protection level.

9. An electronic device, comprising: The device includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor, when executing the computer program, implements the safe charging method for an electric vehicle as described in any one of claims 1 to 7.

10. A storage medium, characterized by The storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device where the storage medium is located to perform the safe charging method for an electric vehicle as described in any one of claims 1 to 7.