CN-122001811-A - Self-healing method, device and storage medium for charging communication link
Abstract
The invention discloses a self-healing method, a self-healing device and a storage medium of a charging communication link, belonging to the technical field of charging, wherein the method comprises the steps of monitoring the quality of the communication link between the BMS and the charging communication link; and when the timeout timer times out and the expected message is not received, selecting and executing the self-healing action of the corresponding level from the predefined multi-level self-healing strategy according to the current interaction stage and the link quality, wherein the multi-level self-healing strategy comprises message level self-healing, session level self-healing and link level self-healing. According to the invention, intelligent self-healing of the charging communication link is realized through link quality monitoring, dynamic timeout and multistage self-healing strategies, so that the problem of flow blocking caused by message loss can be effectively solved on the premise of not modifying BMS software, and the charging success rate and user experience are improved.
Inventors
- WANG PENG
- REN BO
- CAI JUN
Assignees
- 南京鲸翼电力新能源有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260410
Claims (9)
- 1. A self-healing method of a charging communication link, which is applied to a charging pile, wherein the charging pile is in communication connection with a battery management system BMS of an electric vehicle, and the method comprises the following steps: monitoring the quality of a communication link with the BMS; dynamically setting a threshold of at least one timeout timer based on the communication link quality after entering a multi-packet messaging Wen Jiaohu procedure; And when the timeout timer is overtime and the expected message sent by the BMS is not received, selecting and executing the self-healing action of the corresponding level from the predefined multi-level self-healing strategies according to the current interaction stage and the link quality, wherein the multi-level self-healing strategies comprise message-level self-healing, session-level self-healing and link-level self-healing.
- 2. The method of claim 1, wherein the monitoring the quality of the communication link comprises obtaining a CAN bus error rate, a message reception success rate, a signal amplitude, and a message interval parameter index of a last successful communication, and calculating by a weighted scoring method to obtain a link quality score, wherein each weight coefficient is between 0 and 1 and the sum is 1.
- 3. The method of claim 1, wherein dynamically setting the threshold of the timeout timer based on the quality of the communication link comprises dynamically adjusting the timeout period based on the quality score of the link, the lower the quality score of the link, the longer the timeout period is set.
- 4. The method of claim 1, wherein the message level self-healing actions include a light healing policy and an enhanced healing policy, the light healing policy being a complementary standard CTS message, the enhanced healing policy being an enhanced acknowledgment message sent to the BMS carrying link diagnostic information, the enhanced acknowledgment message carrying the link diagnostic information using reserved bits or reserved bytes in a standard protocol, the link diagnostic information including an enhanced message flag, a self-healing trigger flag, a self-healing level suggestion, a link quality level, link quality statistics, and historical self-healing information.
- 5. The method for self-healing a charging communication link according to claim 1, wherein the session-level self-healing action includes sending a connection suspension message to the BMS by the charging stake to end the current multi-packet session without interrupting the physical connection, and waiting for the next frame of BCS multi-packet session to reestablish the session.
- 6. The method of claim 1, wherein the link-level self-healing action comprises performing a software reset operation on the CAN communication controller, and performing a hard reset when the soft reset fails continuously for a predetermined number of times.
- 7. The method according to claim 1, wherein the session-level self-healing is updated to link-level self-healing when the session-level self-healing fails continuously up to a preset number of times.
- 8. A charging communication link self-healing device, characterized by being applied to a charging pile, the device comprising: the link quality monitoring module is used for monitoring the quality of a communication link between the BMS and the link quality monitoring module; the timing configuration module is used for dynamically setting the threshold value of the timeout timer based on the quality of the communication link in the multi-packet report Wen Jiaohu flow; the self-healing decision module is used for selecting corresponding levels of self-healing actions from the predefined multilevel self-healing strategies according to the current interaction stage and the link quality when the timeout timer times out and the expected message is not received; and the self-healing executing module is used for executing the selected self-healing action.
- 9. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-7.
Description
Self-healing method, device and storage medium for charging communication link Technical Field The invention relates to the technical field of electric automobile charging, in particular to a self-healing method and device of a charging communication link and a storage medium. Background Along with the popularization of new energy automobiles, a charging pile is used as a key infrastructure, the communication stability between the charging pile and a vehicle Battery Management System (BMS) directly influences the charging success rate and user experience, and in the charging process, the BMS needs to periodically send messages such as a battery charging total state (BCS) and the like to the charging pile according to protocols such as GB/T27930, SAE J1939 and the like so as to interact with the charging state information of the battery. For parameter set data exceeding 8 bytes in length, the protocol specifies that a multi-packet transmission mechanism is to be employed. In practical application, particularly in a high-power charging scene, the field electromagnetic environment is complex, and the communication interference is strong. When a certain frame request message or a multi-packet data message sent by the BMS is lost due to interference, if the charging pile does not receive an expected message, the charging pile cannot respond. It should be noted that, although a disconnection reconnection mechanism is specified in the GB/T27930 standard, devices are allowed to attempt reconnection after communication is interrupted, and some mainstream vehicle enterprises have laid out related communication abnormal reconnection technologies at the BMS end, for example, a charging control method, a vehicle, a charging station, a system and a medium for a vehicle in chinese patent application publication No. CN117360274A, which perform reconnection operation when communication connection abnormality is confirmed, and perform abnormal charging preparation when the reconnection frequency reaches a preset number of times, so as to improve reliability of vehicle charging. However, the BMS-side reconnection mechanism still has the limitation in practical application that firstly, the technical levels of BMSs of each host factory are uneven, and not all vehicle BMSs have perfect communication abnormality recovery capability. Part of BMS firmware version is old or function is cut, an effective overtime retransmission or session recovery mechanism is lacking, the response of a charging pile is continuously waited under a message loss scene and cannot be recovered by itself, secondly, even though the BMS is provided with a reconnection mechanism, the triggering condition is usually severe, the BMS needs to restart from vehicle identification communication, the recovery process is long in time consumption and is difficult to cope with the instant loss of a message level, the BMS end reconnection mechanism can be triggered only after the long-time communication interruption, the mechanism is difficult to work for the loss of single-frame or multi-frame message caused by electromagnetic interference, the communication flow is blocked due to waiting for the response during the time, and moreover, because the BMS relates to the safety of a vehicle core, the software modification of the BMS needs to be subjected to a strict test authentication flow, the period is long, the cost is high, and the sold vehicle cannot be updated in time through an OTA mode. However, the improvement from the charging pile end has the remarkable advantages of no need of coordinating multiple manufacturers, independent deployment, quick response and the like, so that a finer and active communication link self-healing scheme is provided from the charging pile end. In the prior art, communication abnormality is judged by monitoring communication parameters, and CAN hardware is restarted to restore communication. The method, the system and the storage medium for restarting communication between the charging pile and the BMS are disclosed in China patent application with the publication number of CN118358422A, whether communication between the charging pile and the BMS is normal or not is judged according to communication transmission parameter data by monitoring communication transmission parameter data of communication between the charging pile and the BMS, when communication between the charging pile and the BMS is abnormal is judged, a BMS way CAN restarting signal is sent out, and after the BMS way CAN restarting signal is received, BMS way CAN restarting operation is executed. However, hardware restart involves physical layer re-initialization, which is time consuming and may result in charging interruption, affecting the user experience. Other schemes relate to offline self-healing between dual-core processors or restarting a hardware by adopting a reset circuit, but the schemes are either aimed at internal communication of the processor, or have sin