Vehicle failure response method, apparatus, device, medium, and product

By acquiring the communication status and protocols between the battery swapping controller, the vehicle controller, and the battery management system, a comprehensive diagnosis of faults in battery swapping vehicles is achieved, improving vehicle safety and the timeliness of fault response during operation.

CN116382229BActive Publication Date: 2026-04-28FAW JIEFANG AUTOMOTIVE CO
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
FAW JIEFANG AUTOMOTIVE CO
Filing Date
2023-01-18
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

In the existing technology, the fault diagnosis of the battery swapping module of the battery swapping vehicle lacks a systematic approach, which is prone to missed detections and results in an incomplete vehicle fault diagnosis.

Method used

By acquiring the communication connection status and protocol between the battery swapping controller, the vehicle controller, and the battery management system, and receiving status data and fault diagnosis results, a comprehensive response is made based on this information to improve the comprehensiveness of fault diagnosis.

Benefits of technology

It enables comprehensive diagnosis of faults in battery swapping vehicles, improving vehicle safety and the timeliness of fault response during operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116382229B_ABST
    Figure CN116382229B_ABST
Patent Text Reader

Abstract

The application relates to a vehicle fault response method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: firstly, acquiring a first communication connection state and a first communication protocol between a battery replacement controller and a vehicle controller, and receiving vehicle state data sent by the vehicle controller according to the first communication connection state and the first communication protocol; then, acquiring a second communication connection state and a second communication protocol between the battery replacement controller and a battery management system, and sending the vehicle state data to the battery management system according to the second communication connection state and the second communication protocol; next, receiving a fault diagnosis result sent by the battery management system according to the vehicle state data and a fault diagnosis condition; and finally, responding to a vehicle fault according to the fault diagnosis result, the first communication connection state and the second communication connection state. The method provided by the application can improve the comprehensiveness of vehicle fault diagnosis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of fault detection technology, and in particular to a vehicle fault response method, apparatus, computer equipment, storage medium and computer program product. Background Technology

[0002] Vehicle malfunctions can seriously affect driving safety. Therefore, it is necessary to diagnose the performance of vehicle-related components in real time during vehicle operation and respond promptly to any malfunctions detected.

[0003] Currently, electric vehicles on the market can be divided into charging vehicles and battery swapping vehicles. Among them, battery swapping vehicles can both charge and replace batteries. There are relatively mature technologies for fault diagnosis of charging modules in charging vehicles and battery swapping vehicles. However, for fault diagnosis of battery swapping modules in battery swapping vehicles, the main focus is on diagnosing faults of individual components within the battery swapping module. There is no systematic diagnostic method for the battery swapping module as a whole. This makes the fault diagnosis incomplete and prone to missed detections. Summary of the Invention

[0004] Therefore, it is necessary to provide a vehicle fault response method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve the comprehensiveness of fault diagnosis in response to the above-mentioned technical problems.

[0005] In a first aspect, this application provides a vehicle fault response method, the method comprising:

[0006] Obtain the first communication connection status and the first communication protocol between the battery swapping controller and the vehicle controller;

[0007] Based on the first communication connection status and the first communication protocol, receive vehicle status data sent by the vehicle controller;

[0008] Obtain the second communication connection status and the second communication protocol between the battery swapping controller and the battery management system;

[0009] According to the second communication connection status and the second communication protocol, the vehicle status data is sent to the battery management system;

[0010] Based on the vehicle status data and fault diagnosis conditions, receive the fault diagnosis results sent by the battery management system;

[0011] The vehicle fault is responded to based on the fault diagnosis results, the first communication connection status, and the second communication connection status.

[0012] In one embodiment, responding to a vehicle fault based on the fault diagnosis result, the first communication connection status, and the second communication connection status includes:

[0013] If the first communication connection is in a disconnected state or the fault diagnosis result indicates at least one of the following states, a response command is sent to the battery management system. The response command is used to set the actual discharge power of the vehicle battery to a first preset ratio of the rated discharge power of the vehicle battery, set the driving recharge power of the vehicle battery to a second preset ratio of the rated recharge power of the vehicle battery, and prohibit charging the vehicle battery. The following states include the battery swapping connector being in a disconnected state, the battery swapping lock pin being in an unlocked state, and the temperature of the battery swapping connector being within a preset range for a first preset time length.

[0014] Receive the fault response result fed back by the battery management system after executing the first response instruction.

[0015] In one embodiment, the method further includes:

[0016] If the fault diagnosis result indicates that the temperature of the battery swapping connector is greater than the upper limit of the preset range within the first preset time length, a high-voltage power-down command is sent to the vehicle controller, and a vehicle charging prohibition command is sent to the battery management system.

[0017] The system receives fault response results from the vehicle controller executing the high-voltage power-down command and the battery management system executing the vehicle charging prohibition command.

[0018] In one embodiment, the method further includes:

[0019] When the second communication connection is disconnected, a high-voltage power-down command is sent to the vehicle controller;

[0020] The system receives the fault response result fed back after the vehicle controller executes the high-voltage power-down command.

[0021] In one embodiment, the high-voltage power-down command is used to instruct the vehicle controller to disconnect the high-voltage circuit relay.

[0022] In one embodiment, after responding to the vehicle fault based on the fault diagnosis result, the first communication connection status, and the second communication connection status, the method further includes:

[0023] Determine whether the temperature of the battery swapping connector is lower than a second preset temperature within a second preset time period, wherein the second preset temperature is lower than the lower limit of the preset range;

[0024] If the temperature of the battery swapping connector is lower than the second preset temperature within a second preset time period, the vehicle is controlled to release the fault response state.

[0025] Secondly, this application also provides a vehicle fault response device, the device comprising:

[0026] The first acquisition module is used to acquire the first communication connection status and the first communication protocol between the battery swapping controller and the vehicle controller.

[0027] The first receiving module is configured to receive vehicle status data sent by the vehicle controller according to the first communication connection status and the first communication protocol.

[0028] The second acquisition module is used to acquire the second communication connection status and the second communication protocol between the battery swapping controller and the battery management system.

[0029] The sending module is used to send the vehicle status data to the battery management system according to the second communication connection status and the second communication protocol;

[0030] The second receiving module is used to receive the fault diagnosis results sent by the battery management system based on the vehicle status data and fault diagnosis conditions.

[0031] The fault response module is used to respond to vehicle faults based on the fault diagnosis results, the first communication connection status, and the second communication connection status.

[0032] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the methods in any of the above embodiments.

[0033] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the methods in any of the above embodiments.

[0034] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of the methods in any of the above embodiments.

[0035] The aforementioned vehicle fault response method, apparatus, computer equipment, storage medium, and computer program product first acquire the first communication connection status and first communication protocol between the battery swapping controller and the vehicle controller, and receive vehicle status data sent by the vehicle controller based on the first communication connection status and first communication protocol. Then, it acquires the second communication connection status and second communication protocol between the battery swapping controller and the battery management system, and sends the vehicle status data to the battery management system based on the second communication connection status and second communication protocol. Next, it receives the fault diagnosis result sent by the battery management system based on the vehicle status data and fault diagnosis conditions. Finally, it responds to the vehicle fault based on the fault diagnosis result, the first communication connection status, and the second communication connection status. The method provided in this application, which determines the fault diagnosis result based on vehicle status data and fault diagnosis conditions, and responds to the vehicle fault based on the fault diagnosis result, can improve the comprehensiveness of vehicle fault diagnosis. Attached Figure Description

[0036] Figure 1 This is a diagram illustrating the application environment of a vehicle fault response method in one embodiment.

[0037] Figure 2 This is a flowchart illustrating a vehicle fault response method in one embodiment;

[0038] Figure 3 This is a flowchart illustrating a fault response result receiving method in one embodiment;

[0039] Figure 4 This is a schematic diagram of the vehicle fault response method in another embodiment;

[0040] Figure 5 This is a structural block diagram of a vehicle fault response device in one embodiment;

[0041] Figure 6 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0042] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0043] The vehicle fault response method provided in this application embodiment can be applied to, for example, Figure 1The application environment shown in the diagram includes a battery management system 102, a battery swapping controller 104, and a vehicle controller 106. Communication between the battery management system 102 and the battery swapping controller 104, as well as between the battery swapping controller 104 and the vehicle controller 106, is achieved via CAN communication. Specifically, the battery swapping controller 104 first acquires the first communication connection status and the first communication protocol with the vehicle controller 106, and receives vehicle status data sent by the vehicle controller 106 based on the first communication connection status and the first communication protocol. Then, it acquires the second communication connection status and the second communication protocol with the battery management system 102, and sends the vehicle status data to the battery management system 102 based on the second communication connection status and the second communication protocol. Next, based on the vehicle status data and fault diagnosis conditions, it receives the fault diagnosis results sent by the battery management system 102. Finally, based on the fault diagnosis results, the first communication connection status, and the second communication connection status, it responds to vehicle faults.

[0044] In one embodiment, such as Figure 2 As shown, a vehicle fault response method is provided, which is applied to... Figure 1 Taking the battery swapping controller in the example, the explanation includes the following steps:

[0045] S202. Obtain the first communication connection status and the first communication protocol between the battery swapping controller and the vehicle controller.

[0046] The battery swapping controller is used to control the battery replacement process of the battery swapping vehicle. The first communication connection state includes a closed state and an open state. The first communication connection state is determined based on whether the battery swapping controller and the vehicle controller can send data normally within a preset time period. The first communication protocol is used for the data communication process between the battery swapping controller and the vehicle controller.

[0047] The battery swapping controller is compatible with the first communication protocols and high-voltage power-on / off procedures of multiple OEMs. Before the battery swapping controller and the vehicle controller interact with each other, the battery swapping controller can determine which OEM manufactures the vehicle controller by receiving and identifying specific message frames sent by the vehicle controller, thereby determining the corresponding first communication protocol.

[0048] S204. Receive vehicle status data sent by the vehicle controller according to the first communication connection status and the first communication protocol.

[0049] Vehicle status data characterizes the status of different parts of the vehicle during the operation of the battery swapping vehicle. For example, vehicle status data can characterize the connection status of the battery swapping connector, the temperature status of the battery swapping connector, the locking status of the battery swapping lock pin, the communication status between the battery swapping controller and the vehicle controller, and the communication status between the battery swapping controller and the battery management system.

[0050] Specifically, when the first communication connection is closed, the battery swapping controller receives vehicle status data sent by the vehicle controller based on the first communication protocol.

[0051] S206. Obtain the second communication connection status and the second communication protocol between the battery swapping controller and the battery management system.

[0052] The second communication connection state includes a closed state and a disconnected state. The second communication connection state is determined based on whether the battery swapping controller and the battery management system can send data normally within a preset time period. The second communication protocol is used for the data communication process between the battery swapping controller and the battery management system.

[0053] The battery swapping controller is compatible with the first communication protocol, high-voltage power-on / off procedures, and fault diagnosis lists of various battery management systems in battery swapping systems, and can meet the normal communication and interaction requirements of different battery management systems. After determining the first communication protocol, the battery swapping controller selects the corresponding second communication protocol from a variety of second communication protocols based on the first communication protocol, and completes the power-on / off process and battery charging / discharging process according to the second communication protocol.

[0054] S208. According to the second communication connection status and the second communication protocol, the vehicle status data is sent to the battery management system.

[0055] Specifically, when the second communication connection is closed, the battery swapping controller sends vehicle status data to the battery management system based on the second communication protocol. After receiving the vehicle status data, the battery management system will diagnose the vehicle based on the vehicle status data.

[0056] S210. Receive the fault diagnosis results sent by the battery management system based on vehicle status data and fault diagnosis conditions.

[0057] Fault diagnosis conditions are used to diagnose whether a vehicle has a fault based on vehicle status data. For example, fault diagnosis conditions may include whether the battery swapping connector is disconnected, whether the temperature of the battery swapping connector is greater than a preset temperature, and whether the battery swapping lock pin is locked.

[0058] S212. Respond to vehicle faults based on fault diagnosis results, first communication connection status, and second communication connection status.

[0059] If the first communication connection status is disconnected, or the second communication connection status is disconnected, or the fault diagnosis result is that the battery swapping connector is disconnected, the battery swapping lock pin is unlocked, or the temperature of the battery swapping connector is within a preset range for a first preset time length, then the battery swapping controller will respond according to the corresponding status, and after the fault is resolved, it will release the response status and control the vehicle to drive normally.

[0060] The aforementioned vehicle fault response method first acquires the first communication connection status and first communication protocol between the battery swapping controller and the vehicle controller, and receives vehicle status data sent by the vehicle controller based on the first communication connection status and first communication protocol. Then, it acquires the second communication connection status and second communication protocol between the battery swapping controller and the battery management system, and sends the vehicle status data to the battery management system based on the second communication connection status and second communication protocol. Next, it receives the fault diagnosis result sent by the battery management system based on the vehicle status data and fault diagnosis conditions. Finally, it responds to the vehicle fault based on the fault diagnosis result, the first communication connection status, and the second communication connection status. The method provided in this application, which determines the fault diagnosis result based on vehicle status data and fault diagnosis conditions, and responds to the vehicle fault based on the fault diagnosis result, can improve the comprehensiveness of vehicle fault diagnosis.

[0061] In some embodiments, responding to a vehicle fault based on a fault diagnosis result, a first communication connection state, and a second communication connection state includes: sending a response command to the battery management system when the first communication connection state is disconnected or the fault diagnosis result indicates at least one of the following states: setting the actual discharge power of the vehicle battery to a first preset ratio of the rated discharge power of the vehicle battery, setting the driving recharge power of the vehicle battery to a second preset ratio of the rated recharge power of the vehicle battery, and prohibiting charging the vehicle battery; the following states include the battery swapping connector being disconnected, the battery swapping lock pin being unlocked, and the temperature of the battery swapping connector being within a preset range for a first preset time length; and receiving the fault response result fed back by the battery management system after executing the first response command.

[0062] In this step, the driving recharge power refers to the electrical power converted from the kinetic energy generated when the driver applies the brakes. The driving recharge power will recharge the vehicle battery. The vehicle battery and battery management system are both placed in the battery swapping box on the vehicle. The battery swapping connector is used to connect the battery swapping box and the vehicle. The battery swapping lock pin is used to lock the battery swapping box and the vehicle together. The temperature of the battery swapping connector is within a preset range within a first preset time length. For example, the first preset time length is 3 seconds, and the preset temperature range is greater than 85°C and not greater than 95°C.

[0063] The method provided in this step continuously acquires faults during vehicle operation and responds to them in real time, thereby improving vehicle safety during operation.

[0064] In some embodiments, such as Figure 3 As shown, Figure 3 The following is a flowchart illustrating a fault response result receiving method in one embodiment. The method further includes: when the fault diagnosis result indicates that the temperature of the battery swapping connector is greater than the upper limit of a preset range within a first preset time length, sending a high-voltage power-down command to the vehicle controller and a vehicle charging prohibition command to the battery management system; and receiving the fault response results respectively fed back by the vehicle controller after executing the high-voltage power-down command and the battery management system after executing the vehicle charging prohibition command.

[0065] In this step, if the preset temperature range is greater than 85℃ and not greater than 95℃, when the temperature of the battery swapping connector is greater than 95℃, the battery swapping controller sends a high-voltage power-off command to the vehicle controller and a command to prohibit vehicle charging to the battery management system, and controls the vehicle battery to stop discharging to the vehicle according to the command.

[0066] The method provided in this step stops charging the vehicle when the temperature of the battery swapping connector exceeds the upper temperature limit, thus ensuring the safety of vehicle operation.

[0067] In some embodiments, the method further includes: sending a high-voltage power-down command to the vehicle controller when the second communication connection is in a disconnected state; and receiving a fault response result fed back by the vehicle controller after executing the high-voltage power-down command.

[0068] In this step, the high-voltage power-down command is used to control the vehicle battery to stop charging the vehicle, thereby causing the vehicle to gradually come to a stop. After the second communication connection state is re-established, the battery swapping controller sends a high-voltage power-up command to control the vehicle battery to resume charging the vehicle.

[0069] The method provided in this step sends a high-voltage power-down command to the vehicle controller when the second communication connection is disconnected, which can ensure the safety of vehicle operation.

[0070] In some embodiments, the high-voltage power-down command is used to instruct the vehicle controller to disconnect the high-voltage circuit relay.

[0071] In some embodiments, after responding to a vehicle fault based on the fault diagnosis result, the first communication connection status, and the second communication connection status, the method further includes: determining whether the temperature of the battery swapping connector is lower than a second preset temperature within a second preset time period, wherein the second preset temperature is lower than the lower limit of a preset range; and controlling the vehicle to release the fault response state if the temperature of the battery swapping connector is lower than the second preset temperature within the second preset time period.

[0072] In this step, after the corresponding fault is resolved, the vehicle will exit the response state. For example, if the preset temperature range is greater than 85℃ and not greater than 95℃, and the temperature of the battery swapping connector remains below 70℃ for 3 seconds, the battery swapping controller will determine that the temperature of the battery swapping connector is in a normal state. At this time, the battery swapping controller will control the vehicle to exit the response state.

[0073] The method provided in this step will allow the vehicle to return to normal operation as quickly as possible after the fault is resolved.

[0074] In one embodiment, another vehicle fault response method is provided, comprising two parts: vehicle fault diagnosis and the control process for the vehicle entering the battery swapping station, such as... Figure 4 As shown, Figure 4 This is a structural block diagram of a vehicle fault response method. The diagram includes a battery swapping control unit, a vehicle control unit, a battery swapping station, and a battery management system. The battery swapping control unit is compatible with the communication protocols, high-voltage power-on / off procedures, and fault diagnosis lists of battery management systems from various battery manufacturers within the existing battery swapping system. This ensures normal communication and interaction with diverse battery management systems within the battery swapping enclosure. For battery swapping stations of the same product line, the battery swapping control unit and the battery swapping station establish a standard battery swapping protocol to ensure the universality of the battery swapping process within the same battery swapping station. Based on the specific provisions of the OEM's vehicle protocol, the battery swapping control unit interacts with the battery management system through CAN network messages and signal routing to complete the entire power-on / off and charging / discharging process. The battery swapping control unit is compatible with the vehicle communication protocols and high-voltage power-on / off procedures of different OEMs. By identifying specific frame messages sent by the vehicle, the battery swapping control unit can determine which communication protocol to use, thus preparing for communication with the battery management system. After determining the specific vehicle communication protocol, the battery swapping control unit also interacts with a single, universal battery management system through CAN network messages and signal routing to complete the entire power-on / off and charging / discharging process.

[0075] Vehicle fault diagnosis includes the following: Fault sources in the battery swapping system mainly include connection faults in the battery swapping connector, locking faults in the battery swapping lock pin, overheating faults in the battery swapping connector, and battery swapping communication timeout faults. This invention employs a three-level classification system for these faults, and different handling measures can be implemented for the entire vehicle based on different fault levels:

[0076] Level 1 fault: Battery swapping connector overheating. The judgment condition is that the temperature of the battery swapping connector is greater than 75°C for 3 seconds (calibrable). At this time, the battery swapping control unit issues a request to limit half of the discharge power and the charging power during driving. Charging is prohibited during this process. The fault can be resolved when the temperature of the battery swapping connector is less than 70°C for 3 seconds (calibrable).

[0077] Level 2 faults: ① Battery swapping connector overheating: The condition for judgment is that the temperature of the battery swapping connector is greater than 85℃ for 3 seconds (calibrable). At this time, the battery swapping control unit issues a request to limit the discharge power to 5% and the charging power during driving. Charging is prohibited during this process. The fault is resolved when the temperature of the battery swapping connector is less than 70℃ for 3 seconds (calibrable); ② Battery swapping lock pin locking fault: The condition for judgment is that the battery swapping control unit detects the lock pin status as "not successfully locked". At this time, the battery swapping control unit issues a request to limit the discharge power to 5% and the charging power during driving. Charging is prohibited during this process. The fault is resolved when the battery swapping control unit detects the lock pin status as "successfully locked"; ③ Battery swapping... ④ Connector connection failure: The condition for judgment is that the battery swapping control unit collects the status of any connector in the charging and discharging circuit as "not connected". At this time, the battery swapping control unit issues a request to limit the discharge power to 5% and the charging power during driving. Charging is prohibited during this process. The condition for resolving the fault is that the battery swapping control unit collects the status of the connectors in the charging and discharging circuit as "connected". ⑤ Battery swapping communication timeout failure: The condition for judgment is that the battery swapping control unit does not receive a message from the vehicle control unit or the battery management system. At this time, the battery swapping control unit issues a request to limit the discharge power to 5% and the charging power during driving. Charging is prohibited during this process. The condition for resolving the fault is that messages from both the vehicle control unit and the battery management system are received simultaneously.

[0078] Level 3 fault: The battery swapping connector is overheated. The judgment condition is that the temperature of the battery swapping connector is greater than 95°C for 3 seconds (calibrable). If the battery swapping control unit issues a high voltage request during the driving process, charging is prohibited. The fault can be resolved when the temperature of the battery swapping connector is less than 70°C for 3 seconds (calibrable).

[0079] The control process for a vehicle entering a battery swapping station includes the following: This invention adopts a vehicle-to-station wireless communication method. The vehicle drives into a specific area according to on-site guidance, and the driver performs the high-voltage shutdown operation. The battery swapping control unit has a built-in WIFI wireless module (2.4G UHF). Within a certain range, the battery swapping station, as the signal receiver, will automatically search for the vehicle's WIFI signal and then communicate with the vehicle. Next, the handshake process of the entire battery swapping communication is completed by recognizing the vehicle identification code and authenticating the login using radio frequency identification technology. Then, the battery swapping control unit receives and executes the battery swapping command from the battery swapping station, thereby completing the battery swapping process.

[0080] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0081] Based on the same inventive concept, this application also provides a vehicle fault response device for implementing the vehicle fault response method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more vehicle fault response device embodiments provided below can be found in the limitations of the vehicle fault response method described above, and will not be repeated here.

[0082] In one embodiment, such as Figure 5 As shown, a vehicle fault response device 500 is provided, including: a first acquisition module 501, a first receiving module 502, a second acquisition module 503, a sending module 504, a second receiving module 505, and a fault response module 506, wherein:

[0083] The first acquisition module 501 is used to acquire the first communication connection status and the first communication protocol between the battery swapping controller and the vehicle controller.

[0084] The first receiving module 502 is used to receive vehicle status data sent by the vehicle controller according to the first communication connection status and the first communication protocol.

[0085] The second acquisition module 503 is used to acquire the second communication connection status and the second communication protocol between the battery swapping controller and the battery management system.

[0086] The sending module 504 is used to send the vehicle status data to the battery management system according to the second communication connection status and the second communication protocol.

[0087] The second receiving module 505 is used to receive the fault diagnosis results sent by the battery management system based on the vehicle status data and fault diagnosis conditions.

[0088] The fault response module 506 is used to respond to vehicle faults based on the fault diagnosis results, the first communication connection status, and the second communication connection status.

[0089] In some embodiments, the fault response module 506 is further configured to: send a response command to the battery management system when the first communication connection state is disconnected or the fault diagnosis result represents at least one of the following states, wherein the response command is configured to set the actual discharge power of the vehicle battery to a first preset ratio of the rated discharge power of the vehicle battery, set the driving recharge power of the vehicle battery to a second preset ratio of the rated recharge power of the vehicle battery, and prohibit charging the vehicle battery; wherein the following states include the battery swapping connector being disconnected, the battery swapping lock pin being unlocked, and the temperature of the battery swapping connector being within a preset range for a first preset time length; and receive the fault response result fed back by the battery management system after executing the first response command.

[0090] In some embodiments, the fault response module 506 is further configured to: send a high-voltage power-down command to the vehicle controller and a vehicle charging prohibition command to the battery management system when the fault diagnosis result indicates that the temperature of the battery swapping connector is greater than the upper limit of the preset range within the first preset time length; and receive fault response results respectively fed back by the vehicle controller after executing the high-voltage power-down command and by the battery management system after executing the vehicle charging prohibition command.

[0091] In some embodiments, the fault response module 506 is further configured to: send a high-voltage power-down command to the vehicle controller when the second communication connection is in a disconnected state; and receive a fault response result fed back by the vehicle controller after executing the high-voltage power-down command.

[0092] In some embodiments, the vehicle fault response device 500 is specifically used for: the high-voltage power-down command to instruct the vehicle controller to disconnect the high-voltage circuit relay.

[0093] In some embodiments, the vehicle fault response device 500 is further configured to: determine whether the temperature of the battery swapping connector is lower than a second preset temperature within a second preset time period, wherein the second preset temperature is lower than the lower limit of the preset range; and control the vehicle to release the fault response state if the temperature of the battery swapping connector is lower than the second preset temperature within the second preset time period.

[0094] Each module in the aforementioned vehicle fault response device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.

[0095] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 6 As shown, the computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores vehicle status data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements a vehicle fault response method.

[0096] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0097] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps: acquiring a first communication connection status and a first communication protocol between a battery swapping controller and a vehicle controller; receiving vehicle status data sent by the vehicle controller according to the first communication connection status and the first communication protocol; acquiring a second communication connection status and a second communication protocol between the battery swapping controller and a battery management system; sending the vehicle status data to the battery management system according to the second communication connection status and the second communication protocol; receiving a fault diagnosis result sent by the battery management system according to the vehicle status data and fault diagnosis conditions; and responding to a vehicle fault according to the fault diagnosis result, the first communication connection status, and the second communication connection status.

[0098] In one embodiment, the processor, when executing a computer program, responds to a vehicle fault based on the fault diagnosis result, the first communication connection state, and the second communication connection state, including: sending a response command to the battery management system when the first communication connection state is disconnected or the fault diagnosis result represents at least one of the following states: the response command sets the actual discharge power of the vehicle battery to a first preset percentage of the vehicle battery's rated discharge power, sets the vehicle battery's driving recharge power to a second preset percentage of the vehicle battery's rated recharge power, and prohibits charging the vehicle battery; the following states include the battery swapping connector being disconnected, the battery swapping lock pin being unlocked, and the temperature of the battery swapping connector being within a preset range for a first preset time period; and receiving the fault response result fed back by the battery management system after executing the first response command.

[0099] In one embodiment, the method implemented by the processor when executing the computer program further includes: sending a high-voltage power-down command to the vehicle controller and a vehicle charging prohibition command to the battery management system when the fault diagnosis result indicates that the temperature of the battery swapping connector is greater than the upper limit of the preset range within the first preset time length; and receiving fault response results respectively fed back by the vehicle controller after executing the high-voltage power-down command and by the battery management system after executing the vehicle charging prohibition command.

[0100] In one embodiment, the method implemented by the processor when executing the computer program further includes: sending a high-voltage power-down command to the vehicle controller when the second communication connection state is in a disconnected state; and receiving a fault response result fed back by the vehicle controller after executing the high-voltage power-down command.

[0101] In one embodiment, a high-voltage power-down command implemented by the processor when executing a computer program is used to instruct the vehicle controller to disconnect the high-voltage circuit relay.

[0102] In one embodiment, after responding to a vehicle fault based on the fault diagnosis result, the first communication connection status, and the second communication connection status, the method further includes: determining whether the temperature of the battery swapping connector is lower than a second preset temperature within a second preset time period, wherein the second preset temperature is lower than the lower limit of the preset range; and controlling the vehicle to release the fault response state if the temperature of the battery swapping connector is lower than the second preset temperature within the second preset time period.

[0103] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When executed by a processor, the computer program performs the following steps: acquiring a first communication connection status and a first communication protocol between a battery swapping controller and a vehicle controller; receiving vehicle status data sent by the vehicle controller according to the first communication connection status and the first communication protocol; acquiring a second communication connection status and a second communication protocol between the battery swapping controller and a battery management system; sending the vehicle status data to the battery management system according to the second communication connection status and the second communication protocol; receiving a fault diagnosis result sent by the battery management system according to the vehicle status data and fault diagnosis conditions; and responding to a vehicle fault according to the fault diagnosis result, the first communication connection status, and the second communication connection status.

[0104] In one embodiment, the computer program, when executed by a processor, responds to a vehicle fault based on the fault diagnosis result, the first communication connection state, and the second communication connection state, including: sending a response instruction to the battery management system when the first communication connection state is disconnected or the fault diagnosis result represents at least one of the following states: the response instruction is used to set the actual discharge power of the vehicle battery to a first preset percentage of the rated discharge power of the vehicle battery, set the driving recharge power of the vehicle battery to a second preset percentage of the rated recharge power of the vehicle battery, and prohibit charging the vehicle battery; the following states include the battery swapping connector being disconnected, the battery swapping lock pin being unlocked, and the temperature of the battery swapping connector being within a preset range for a first preset time length; and receiving the fault response result fed back by the battery management system after executing the first response instruction.

[0105] In one embodiment, the method implemented by the computer program when executed by the processor further includes: sending a high-voltage power-down command to the vehicle controller and a vehicle charging prohibition command to the battery management system when the fault diagnosis result indicates that the temperature of the battery swapping connector is greater than the upper limit of the preset range within the first preset time length; and receiving fault response results respectively fed back by the vehicle controller after executing the high-voltage power-down command and by the battery management system after executing the vehicle charging prohibition command.

[0106] In one embodiment, the method implemented by the computer program when executed by the processor further includes: sending a high-voltage power-down command to the vehicle controller when the second communication connection state is in a disconnected state; and receiving a fault response result fed back by the vehicle controller after executing the high-voltage power-down command.

[0107] In one embodiment, a high-voltage power-down command implemented when the computer program is executed by the processor is used to instruct the vehicle controller to disconnect the high-voltage circuit relay.

[0108] In one embodiment, after the computer program is executed by the processor to respond to a vehicle fault based on the fault diagnosis result, the first communication connection status, and the second communication connection status, the program further includes: determining whether the temperature of the battery swapping connector is lower than a second preset temperature within a second preset time period, wherein the second preset temperature is lower than the lower limit of the preset range; and controlling the vehicle to release the fault response state if the temperature of the battery swapping connector is lower than the second preset temperature within the second preset time period.

[0109] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps: acquiring a first communication connection status and a first communication protocol between a battery swapping controller and a vehicle controller; receiving vehicle status data sent by the vehicle controller according to the first communication connection status and the first communication protocol; acquiring a second communication connection status and a second communication protocol between the battery swapping controller and a battery management system; sending the vehicle status data to the battery management system according to the second communication connection status and the second communication protocol; receiving a fault diagnosis result sent by the battery management system according to the vehicle status data and fault diagnosis conditions; and responding to a vehicle fault according to the fault diagnosis result, the first communication connection status, and the second communication connection status.

[0110] In one embodiment, the computer program, when executed by a processor, responds to a vehicle fault based on the fault diagnosis result, the first communication connection state, and the second communication connection state, including: sending a response instruction to the battery management system when the first communication connection state is disconnected or the fault diagnosis result represents at least one of the following states: the response instruction is used to set the actual discharge power of the vehicle battery to a first preset percentage of the rated discharge power of the vehicle battery, set the driving recharge power of the vehicle battery to a second preset percentage of the rated recharge power of the vehicle battery, and prohibit charging the vehicle battery; the following states include the battery swapping connector being disconnected, the battery swapping lock pin being unlocked, and the temperature of the battery swapping connector being within a preset range for a first preset time length; and receiving the fault response result fed back by the battery management system after executing the first response instruction.

[0111] In one embodiment, the method implemented by the computer program when executed by the processor further includes: sending a high-voltage power-down command to the vehicle controller and a vehicle charging prohibition command to the battery management system when the fault diagnosis result indicates that the temperature of the battery swapping connector is greater than the upper limit of the preset range within the first preset time length; and receiving fault response results respectively fed back by the vehicle controller after executing the high-voltage power-down command and by the battery management system after executing the vehicle charging prohibition command.

[0112] In one embodiment, the method implemented by the computer program when executed by the processor further includes: sending a high-voltage power-down command to the vehicle controller when the second communication connection state is in a disconnected state; and receiving a fault response result fed back by the vehicle controller after executing the high-voltage power-down command.

[0113] In one embodiment, a high-voltage power-down command implemented when the computer program is executed by the processor is used to instruct the vehicle controller to disconnect the high-voltage circuit relay.

[0114] In one embodiment, after the computer program is executed by the processor to respond to a vehicle fault based on the fault diagnosis result, the first communication connection status, and the second communication connection status, the program further includes: determining whether the temperature of the battery swapping connector is lower than a second preset temperature within a second preset time period, wherein the second preset temperature is lower than the lower limit of the preset range; and controlling the vehicle to release the fault response state if the temperature of the battery swapping connector is lower than the second preset temperature within the second preset time period.

[0115] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0116] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0117] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0118] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A vehicle fault response method, characterized in that, The method includes: Obtain the first communication connection status and the first communication protocol between the battery swapping controller and the vehicle controller; The process of acquiring the first communication protocol includes: receiving a specific message frame sent by the vehicle controller before data interaction with the vehicle controller; wherein the specific message frame is used to identify the OEM that produces the vehicle controller; and determining the first communication protocol based on the specific message frame. Based on the first communication connection status and the first communication protocol, the vehicle status data sent by the vehicle controller is received; wherein, the vehicle status data represents the status of different parts of the vehicle during the operation of the battery swapping vehicle; The second communication connection status and the second communication protocol between the battery swapping controller and the battery management system are obtained; wherein, the second communication protocol is a communication protocol corresponding to the first communication protocol determined from a variety of preset communication protocols. According to the second communication connection status and the second communication protocol, the vehicle status data is sent to the battery management system; Based on the vehicle status data and fault diagnosis conditions, receive the fault diagnosis results sent by the battery management system; Based on the fault diagnosis results, the first communication connection status, and the second communication connection status, respond to the vehicle fault; The step of responding to a vehicle fault based on the fault diagnosis result, the first communication connection status, and the second communication connection status includes: If the first communication connection is in a disconnected state or the fault diagnosis result indicates at least one of the following states, a response command is sent to the battery management system. The response command is used to set the actual discharge power of the vehicle battery to a first preset ratio of the rated discharge power of the vehicle battery, set the driving recharge power of the vehicle battery to a second preset ratio of the rated recharge power of the vehicle battery, and prohibit charging the vehicle battery. The following states include the battery swapping connector being in a disconnected state, the battery swapping lock pin being in an unlocked state, and the temperature of the battery swapping connector being within a preset range for a first preset time length. The fault response result fed back by the battery management system after executing the first response command is received. If the fault diagnosis result indicates that the temperature of the battery swapping connector is greater than the upper limit of the preset range within the first preset time length, a high-voltage power-down command is sent to the vehicle controller, and a vehicle charging prohibition command is sent to the battery management system; the fault response results fed back by the vehicle controller after executing the high-voltage power-down command and by the battery management system after executing the vehicle charging prohibition command are received respectively.

2. The method according to claim 1, characterized in that, The method further includes: When the second communication connection is disconnected, a high-voltage power-down command is sent to the vehicle controller; The system receives the fault response result fed back after the vehicle controller executes the high-voltage power-down command.

3. The method according to claim 2, characterized in that, The high-voltage power-down command is used to instruct the vehicle controller to disconnect the high-voltage circuit relay.

4. The method according to claim 3, characterized in that, After responding to the vehicle fault based on the fault diagnosis result, the first communication connection status, and the second communication connection status, the method further includes: Determine whether the temperature of the battery swapping connector is lower than a second preset temperature within a second preset time period, wherein the second preset temperature is lower than the lower limit of the preset range; If the temperature of the battery swapping connector is lower than the second preset temperature within a second preset time period, the vehicle is controlled to release the fault response state.

5. A vehicle fault response device, characterized in that, The device includes: The first acquisition module is used to acquire the first communication connection status and the first communication protocol between the battery swapping controller and the vehicle controller. The first acquisition module is further configured to receive a specific message frame sent by the vehicle controller before interacting with the vehicle controller; wherein the specific message frame is used to characterize the OEM that manufactures the vehicle controller; and to determine the first communication protocol based on the specific message frame. The first receiving module is configured to receive vehicle status data sent by the vehicle controller according to the first communication connection status and the first communication protocol; wherein the vehicle status data represents the status of different parts of the vehicle during the operation of the battery swapping vehicle. The second acquisition module is used to acquire the second communication connection status and the second communication protocol between the battery swapping controller and the battery management system; wherein, the second communication protocol is a communication protocol corresponding to the first communication protocol determined from a variety of preset communication protocols. The sending module is used to send the vehicle status data to the battery management system according to the second communication connection status and the second communication protocol; The second receiving module is used to receive the fault diagnosis results sent by the battery management system based on the vehicle status data and fault diagnosis conditions. The fault response module is used to respond to vehicle faults based on the fault diagnosis results, the first communication connection status, and the second communication connection status. The fault response module is further configured to send a response command to the battery management system when the first communication connection state is disconnected or the fault diagnosis result represents at least one of the following states: the response command sets the actual discharge power of the vehicle battery to a first preset ratio of the rated discharge power of the vehicle battery, sets the driving recharge power of the vehicle battery to a second preset ratio of the rated recharge power of the vehicle battery, and prohibits charging the vehicle battery; the following states include the battery swapping connector being disconnected, the battery swapping lock pin being unlocked, and the temperature of the battery swapping connector being within a preset range for a first preset time length; and receives the fault response result fed back by the battery management system after executing the first response command. If the fault diagnosis result indicates that the temperature of the battery swapping connector is greater than the upper limit of the preset range within the first preset time length, a high-voltage power-down command is sent to the vehicle controller, and a vehicle charging prohibition command is sent to the battery management system; the fault response results fed back by the vehicle controller after executing the high-voltage power-down command and by the battery management system after executing the vehicle charging prohibition command are received respectively.

6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.

8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Battery replacing control system and method for electric car

    CN105150869A

  • Method for limiting charging and discharging power of power battery

    CN112918277A