Vehicle communication fault handling system, method, and apparatus

By calculating the target torque to control the motor when communication fails, the vehicle controller solves the problem of new energy vehicles losing power due to communication abnormalities, and enables the vehicle to continue driving while ensuring safety.

CN116039397BActive Publication Date: 2026-03-31CHERY NEW ENERGY AUTOMOBILE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-23
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

When the communication between the battery management system and the vehicle controller is abnormal, the new energy vehicle loses its power source, cannot drive, and cannot meet the user's driving needs.

Method used

When the vehicle controller does not receive a message from the battery management system, it determines the fault level, calculates the target torque based on the fault level and the battery's maximum discharge power, and controls the motor to continue running to drive the vehicle.

Benefits of technology

While ensuring user safety, the motor is controlled by calculating the target torque to ensure that the vehicle can continue to drive and meet the user's driving needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116039397B_ABST
    Figure CN116039397B_ABST
Patent Text Reader

Abstract

The application discloses a vehicle communication fault processing system, method and equipment, and belongs to the technical field of vehicles.When the vehicle controller cannot receive the message sent by the battery management system, the fault level of the vehicle controller is determined according to the time length during which the message is not received, when the fault level is less than the first level, the target torque of the motor is determined, and the motor is controlled based on the target torque.Because the current discharge power of the battery is determined based on the maximum discharge power sent by the battery management system last time when the target torque is determined, the target torque determined based on the maximum discharge power last time is a safe torque, and the safety of the user can be ensured.Furthermore, under the premise of ensuring the safety of the user, the motor is controlled to continue running based on the target torque to drive the vehicle to run, and the driving demand of the user can be met. It can be seen that the system can ensure the safety of the user and meet the driving demand of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and in particular to a vehicle communication fault handling system, method and device. Background Technology

[0002] In recent years, sales of new energy vehicles have increased significantly, and their market share has also grown. Structurally, new energy vehicles consist of a vehicle controller and a battery management system. Data can be transmitted between the vehicle controller and the battery management system. For example, the battery management system sends information such as battery temperature and maximum output power to the vehicle controller. Conversely, the vehicle controller controls battery discharge by sending control commands to the battery management system.

[0003] Currently, to ensure user safety, when a communication failure occurs between the battery management system and the vehicle controller, the battery management system automatically disconnects the high-voltage relay to stop the battery from discharging. Once the battery stops discharging, the vehicle immediately loses its power source and cannot move, thus failing to meet the user's driving needs. Summary of the Invention

[0004] This application provides a vehicle communication fault handling system, method, and device that can meet the user's driving needs while ensuring user safety. The technical solution is as follows:

[0005] On the one hand, a vehicle communication fault handling system is provided, the system comprising: a vehicle controller and a motor controller; the vehicle controller and the motor controller are electrically connected;

[0006] The vehicle controller is configured to determine a first time elapsed since the last received message when no message is received from the battery management system; and to determine the fault level of the vehicle controller based on the first time elapsed.

[0007] The vehicle controller is further configured to: if the fault level of the vehicle controller is less than the first level, obtain the maximum discharge power of the battery; and determine the current discharge power of the battery based on the fault level of the vehicle controller and the maximum discharge power; wherein the maximum discharge power is stored when the last message was received.

[0008] The vehicle controller is also used to acquire the first torque corresponding to the accelerator pedal, the maximum output torque of the motor, the load power, the motor efficiency, and the motor speed; wherein, the load power is used to represent the power consumed by the electrical equipment in the vehicle;

[0009] The vehicle controller is further configured to determine a target torque based on the current discharge power, the first torque, the maximum output torque, the load power, the motor efficiency, and the motor speed; and send the target torque to the motor controller.

[0010] The motor controller is used to adjust the torque output by the motor to the target torque.

[0011] In one possible implementation, the vehicle controller is further configured to determine the product of the maximum discharge power and the first ratio to obtain the current discharge power if the fault level of the vehicle controller is the second level.

[0012] If the fault level of the vehicle controller is level three, the product of the maximum discharge power and the second ratio is determined to obtain the current discharge power; wherein, the second level is less than the third level, the third level is less than the first level, and the first ratio is greater than the second ratio.

[0013] In another possible implementation, the vehicle controller is further configured to, if the fault level of the vehicle controller is the first level and the vehicle has not reached its destination, determine the product of the maximum discharge power and the third ratio to obtain a first value; based on the first value, determine the current discharge power, and execute the step of determining the target torque based on the current discharge power, the first torque, the maximum output torque, the load power, the motor efficiency, and the motor speed; wherein the current discharge power is not greater than the first value, and the third ratio is less than the second ratio.

[0014] In another possible implementation, the vehicle controller is further configured to send a power-off signal to the battery management system if the fault level of the vehicle controller is the first level and the vehicle reaches its destination.

[0015] The battery management system is used to control the high-voltage relay to switch to the off state based on the power-down signal.

[0016] In another possible implementation, the vehicle controller is further configured to determine the difference between the current discharge power and the load power to obtain a first difference.

[0017] The second value is obtained by multiplying the first difference, the motor efficiency, and the first constant.

[0018] The ratio of the second value to the motor speed is determined to obtain the first ratio;

[0019] The minimum value among the first torque, the maximum output torque, and the first ratio is determined as the target torque.

[0020] In another possible implementation, the battery management system is configured to, when not receiving a message from the vehicle controller, determine a second duration since the last received message; determine the fault level of the battery management system based on the second duration; if the fault level of the battery management system is less than the first level, obtain the current maximum discharge power of the battery; and send the fault level and the current maximum discharge power of the battery management system to the vehicle controller.

[0021] The vehicle controller is further configured to, when the fault level of the battery management system is less than the first level, determine the current maximum discharge power as the current discharge power, and execute the step of determining the target torque based on the current discharge power, the first torque, the maximum output torque, the load power, the motor efficiency, and the motor speed.

[0022] In another possible implementation, the battery management system is further configured to control the high-voltage relay to switch to the off state if the fault level of the battery management system is the first level and it is determined that the driver's side seat belt is unfastened and the driver's side door is opened.

[0023] In another possible implementation, the system further includes: an instrumentation system;

[0024] The battery management system is further configured to send the fault level of the battery management system to the vehicle controller if the fault level of the battery management system is the first level.

[0025] The vehicle controller is also configured to send a fault signal to the instrument system when the fault level of the battery management system is the first level; the fault signal is used to indicate a fault in the battery management system.

[0026] The instrument system is used to illuminate the battery fault light based on the fault signal.

[0027] On the other hand, a vehicle communication fault handling method is provided, the method comprising:

[0028] If the vehicle controller does not receive a message from the battery management system, it determines the first time elapsed since the last received message; and determines the fault level of the vehicle controller based on the first time elapsed.

[0029] If the fault level of the vehicle controller is less than the first level, the vehicle controller obtains the maximum discharge power of the battery; based on the fault level of the vehicle controller and the maximum discharge power, it determines the current discharge power of the battery; wherein, the maximum discharge power is stored when the last message was received;

[0030] The vehicle controller acquires the first torque corresponding to the accelerator pedal, the maximum output torque of the motor, the load power, the motor efficiency, and the motor speed; wherein, the load power is used to represent the power consumed by the electrical equipment in the vehicle;

[0031] The vehicle controller determines the target torque based on the current discharge power, the first torque, the maximum output torque, the load power, the motor efficiency, and the motor speed; and sends the target torque to the motor controller.

[0032] The motor controller adjusts the torque output by the motor to the target torque.

[0033] In one possible implementation, the vehicle controller determines the current discharge power of the battery based on the fault level of the vehicle controller and the maximum discharge power, including:

[0034] If the fault level of the vehicle controller is level two, the vehicle controller determines the product of the maximum discharge power and the first ratio to obtain the current discharge power;

[0035] If the fault level of the vehicle controller is level three, the vehicle controller determines the product of the maximum discharge power and the second ratio to obtain the current discharge power; wherein the second level is less than the third level, the third level is less than the first level, and the first ratio is greater than the second ratio.

[0036] In another possible implementation, the method further includes:

[0037] If the fault level of the vehicle controller is the first level and the vehicle has not reached its destination, the vehicle controller determines the product of the maximum discharge power and the third ratio to obtain a first value; based on the first value, it determines the current discharge power and executes the step of determining the target torque based on the current discharge power, the first torque, the maximum output torque, the load power, the motor efficiency, and the motor speed; wherein the current discharge power is not greater than the first value, and the third ratio is less than the second ratio.

[0038] In another possible implementation, the method further includes:

[0039] If the fault level of the vehicle controller is the first level and the vehicle reaches its destination, the vehicle controller sends a power-off signal to the battery management system.

[0040] Based on the power-down signal, the battery management system controls the high-voltage relay to switch to the off state.

[0041] In another possible implementation, the vehicle controller determines the target torque based on the current discharge power, the first torque, the maximum output torque, the load power, the motor efficiency, and the motor speed, including:

[0042] The vehicle controller determines the difference between the current discharge power and the load power to obtain a first difference.

[0043] The vehicle controller determines the product of the first difference, the motor efficiency, and the first constant to obtain the second value;

[0044] The vehicle controller determines the ratio of the second value to the motor speed to obtain the first ratio;

[0045] The vehicle controller determines the minimum value among the first torque, the maximum output torque, and the first ratio as the target torque.

[0046] In another possible implementation, the method further includes:

[0047] If the battery management system does not receive a message from the vehicle controller, it determines a second time interval since the last received message; based on the second time interval, it determines the fault level of the battery management system; if the fault level of the battery management system is less than the first level, it obtains the current maximum discharge power of the battery; and sends the fault level and the current maximum discharge power of the battery management system to the vehicle controller.

[0048] When the fault level of the battery management system is less than the first level, the vehicle controller determines the current maximum discharge power as the current discharge power and executes the step of determining the target torque based on the current discharge power, the first torque, the maximum output torque, the load power, the motor efficiency, and the motor speed.

[0049] In another possible implementation, the method further includes:

[0050] If the fault level of the battery management system is the first level, and it is determined that the driver's side seatbelt is unfastened and the driver's side door is opened, the battery management system controls the high-voltage relay to switch to the off state.

[0051] In another possible implementation, the method further includes:

[0052] If the fault level of the battery management system is the first level, the battery management system sends the fault level of the battery management system to the vehicle controller;

[0053] When the fault level of the battery management system is the first level, the vehicle controller sends a fault signal to the instrument system; the fault signal is used to indicate a fault in the battery management system.

[0054] The instrument system illuminates the battery fault light based on the fault signal.

[0055] On the other hand, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one piece of program code, which is loaded and executed by the processor to implement the vehicle communication fault handling method described in any of the above-mentioned vehicle controllers, motor controllers, or battery management systems.

[0056] On the other hand, a computer-readable storage medium is provided, wherein at least one piece of program code is stored in the computer-readable storage medium, the at least one piece of program code being loaded and executed by a processor to implement the vehicle communication fault handling method described in any of the preceding claims.

[0057] On the other hand, a computer program product is provided, wherein at least one piece of program code is stored in the computer program product, and the at least one piece of program code is loaded and executed by a processor to implement the vehicle communication fault handling method described in any of the above claims.

[0058] This application provides a vehicle communication fault handling system. When the vehicle controller fails to receive messages from the battery management system, the system determines the fault level of the vehicle controller based on the duration of message loss. If the fault level is less than the first level, a target torque for the motor is determined, and the motor is controlled based on this target torque. Since the current battery discharge power is based on the maximum discharge power previously sent by the battery management system when determining the target torque, the target torque determined based on the previous maximum discharge power is a safe torque, ensuring user safety. Furthermore, while ensuring user safety, controlling the motor to continue operating based on the target torque to drive the vehicle meets the user's driving needs. Therefore, this system can both ensure user safety and meet the user's driving requirements.

[0059] It should be understood that the above general description and the following detailed description are merely exemplary and do not limit this disclosure. Attached Figure Description

[0060] Figure 1 This is a schematic diagram of a vehicle communication fault handling system provided in an embodiment of this application;

[0061] Figure 2 This is a schematic diagram of another vehicle communication fault handling system provided in an embodiment of this application;

[0062] Figure 3 This is a flowchart of a vehicle communication fault handling method provided in an embodiment of this application;

[0063] Figure 4 This is a schematic diagram illustrating the determination of a target torque according to an embodiment of this application;

[0064] Figure 5 This is a flowchart of a vehicle communication fault handling method provided in an embodiment of this application;

[0065] Figure 6 This is a schematic diagram illustrating the interaction between a vehicle controller, a battery management system, and a motor controller, as provided in an embodiment of this application.

[0066] Figure 7 This is a structural block diagram of a vehicle controller provided in an embodiment of this application. Detailed Implementation

[0067] To make the technical solution and advantages of this application clearer, the embodiments of this application will be described in further detail below.

[0068] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0069] It should be noted that all information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application are authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the torque, maximum discharge power, and maximum output torque involved in this application were obtained with full authorization.

[0070] Figure 1This application provides a vehicle communication fault handling system, see [link to relevant documentation]. Figure 1 The system includes: a vehicle controller 101 and a motor controller 102; the vehicle controller 101 and the motor controller 102 are electrically connected;

[0071] The vehicle controller 101 is used to determine the first time elapsed since the last received message when no message is received from the battery management system 103; and to determine the fault level of the vehicle controller based on the first time elapsed.

[0072] The vehicle controller 101 is also used to obtain the maximum discharge power of the battery if the fault level of the vehicle controller is less than the first level; and to determine the current discharge power of the battery based on the fault level of the vehicle controller and the maximum discharge power; wherein the maximum discharge power is stored when the last message was received.

[0073] The vehicle controller 101 is also used to acquire the first torque corresponding to the accelerator pedal, the maximum output torque of the motor, the load power, the motor efficiency, and the motor speed; wherein, the load power is used to represent the power consumed by the electrical equipment in the vehicle;

[0074] The vehicle controller 101 is also used to determine the target torque based on the current discharge power, first torque, maximum output torque, load power, motor efficiency and motor speed; and send the target torque to the motor controller 102.

[0075] The motor controller 102 is used to adjust the torque output by the motor to the target torque.

[0076] The vehicle in this application can be a pure electric vehicle or a hybrid vehicle. In this embodiment, only a pure electric vehicle is used as an example for illustration.

[0077] Furthermore, the electrical connection can be a circuit connection or a wireless connection, without specific limitations. If the connection is a circuit connection, the connection method can be a cable connection; if the connection is a wireless connection, the connection method can be an infrared connection, a wireless local area network (WLAN), or a WiFi (Wireless Fidelity) network connection. In the embodiments of this application, no specific limitations are imposed.

[0078] In one possible implementation, the vehicle controller 101 is further configured to determine the product of the maximum discharge power and the first ratio to obtain the current discharge power if the fault level of the vehicle controller is the second level.

[0079] If the fault level of the vehicle controller is level three, the current discharge power is obtained by multiplying the maximum discharge power by the second ratio; wherein, level two is less than level three, level three is less than level one, and the first ratio is greater than the second ratio.

[0080] In another possible implementation, the vehicle controller 101 is further configured to, if the fault level of the vehicle controller is the first level and the vehicle has not reached its destination, determine the product of the maximum discharge power and the third ratio to obtain a first value; based on the first value, determine the current discharge power, and execute the step of determining the target torque based on the current discharge power, the first torque, the maximum output torque, the load power, the motor efficiency, and the motor speed; wherein the current discharge power is not greater than the first value, and the third ratio is less than the second ratio.

[0081] In another possible implementation, the vehicle controller 101 is also used to send a power-off signal to the battery management system 103 if the fault level of the vehicle controller is the first level and the vehicle has reached its destination.

[0082] The battery management system 103 is used to control the high-voltage relay to switch to the off state based on the power-down signal.

[0083] In another possible implementation, the vehicle controller 101 is also used to determine the difference between the current discharge power and the load power to obtain a first difference.

[0084] The second value is obtained by multiplying the first difference, the motor efficiency, and the first constant.

[0085] Determine the ratio of the second value to the motor speed to obtain the first ratio;

[0086] The minimum value among the first torque, the maximum output torque, and the first ratio is determined as the target torque.

[0087] In another possible implementation, see Figure 2 The battery management system 103 is used to determine a second time interval since the last received message when no message is received from the vehicle controller 101; determine the fault level of the battery management system based on the second time interval; if the fault level of the battery management system is less than the first level, obtain the current maximum discharge power of the battery; and send the fault level and the current maximum discharge power of the battery management system to the vehicle controller 101.

[0088] The vehicle controller 101 is also used to determine the current maximum discharge power as the current discharge power when the fault level of the battery management system is less than the first level, and to perform the step of determining the target torque based on the current discharge power, the first torque, the maximum output torque, the load power, the motor efficiency and the motor speed.

[0089] In another possible implementation, the battery management system 103 is also configured to control the high-voltage relay to switch to the off state if the fault level of the battery management system is the first level and it is determined that the driver's side seat belt is unfastened and the driver's side door is opened.

[0090] In another possible implementation, the system also includes: instrumentation system 104;

[0091] The battery management system 103 is also used to send the fault level of the battery management system to the vehicle controller 101 if the fault level of the battery management system is the first level.

[0092] The vehicle controller 101 is also used to send a fault signal to the instrument system 104 when the fault level of the battery management system is the first level; the fault signal is used to indicate a fault in the battery management system 103.

[0093] Instrument system 104 is used to illuminate the battery fault light based on a fault signal.

[0094] This application provides a vehicle communication fault handling system. When the vehicle controller fails to receive messages from the battery management system, the system determines the fault level of the vehicle controller based on the duration of message loss. If the fault level is less than the first level, a target torque for the motor is determined, and the motor is controlled based on this target torque. Since the current battery discharge power is based on the maximum discharge power previously sent by the battery management system when determining the target torque, the target torque determined based on the previous maximum discharge power is a safe torque, ensuring user safety. Furthermore, while ensuring user safety, controlling the motor to continue operating based on the target torque to drive the vehicle meets the user's driving needs. Therefore, this system can both ensure user safety and meet the user's driving requirements.

[0095] In this embodiment, data transmission is possible between the vehicle controller and the battery management system. When the vehicle controller fails to receive a message from the battery management system, or vice versa, it indicates a data transmission failure between the two systems. Different handling methods can be employed for different situations.

[0096] The following explanation will take the example of how to handle a fault when the vehicle controller does not receive a message from the battery management system. Figure 3 This application provides a method for handling vehicle communication faults, see [link to relevant documentation]. Figure 3 The method includes:

[0097] Step 301: If the vehicle controller does not receive a message from the battery management system, it determines the first time elapsed since the last received message; and determines the fault level of the vehicle controller based on the first time elapsed.

[0098] In this embodiment of the application, the vehicle controller can periodically or in real time determine whether it can receive a message sent by the battery management system. If no message is received from the battery management system, the vehicle controller determines the first time elapsed since the last message was received.

[0099] In one possible implementation, if the first duration is greater than a first preset duration and less than or equal to a second preset duration, the fault level of the vehicle controller is determined to be level two; if the first duration is greater than the second preset duration and less than or equal to a third preset duration, the fault level of the vehicle controller is determined to be level three; if the first duration is greater than the third preset duration, the fault level of the vehicle controller is determined to be level one. Wherein, level two is less than level three, and level three is less than level one.

[0100] In another possible implementation, the vehicle controller determines the number of cycles based on a first duration and a third duration corresponding to a cycle; if the number of cycles is greater than the first number of cycles and less than or equal to the second number of cycles, the fault level of the vehicle controller is determined to be the second level; if the number of cycles is greater than the second number of cycles and less than or equal to the third number of cycles, the fault level of the vehicle controller is determined to be the third level; if the number of cycles is greater than the third number of cycles, the fault level of the vehicle controller is determined to be the first level.

[0101] In this implementation, the vehicle controller determines the ratio of the first duration to the third duration to obtain the number of cycles.

[0102] For example, if the number of cycles is X1, the first cycle number is 30, the second cycle number is 60, and the third cycle number is 120, then if 30 < X1 ≤ 60, the fault level of the vehicle controller is determined to be the second level; if 60 < X1 ≤ 120, the fault level of the vehicle controller is determined to be the third level; and if X1 > 120, the fault level of the vehicle controller is determined to be the first level.

[0103] Step 302: If the fault level of the vehicle controller is less than the first level, the vehicle controller obtains the maximum discharge power of the battery; based on the fault level of the vehicle controller and the maximum discharge power, the current discharge power of the battery is determined.

[0104] The maximum discharge power is the one stored when the last message was received.

[0105] In this embodiment, the battery management system sends a message to the vehicle controller carrying the maximum discharge power. When the vehicle controller receives the message from the battery management system, it stores the maximum discharge power. If it does not receive a message from the battery management system and the fault level of the vehicle controller is less than the first level, the vehicle controller retrieves the previously stored maximum discharge power.

[0106] If the vehicle controller's fault level is Level 2, the vehicle controller determines the current discharge power by multiplying the maximum discharge power by the first ratio. If the vehicle controller's fault level is Level 3, the vehicle controller determines the current discharge power by multiplying the maximum discharge power by the second ratio. The first ratio is greater than the second ratio.

[0107] For example, the first ratio is 0.5, the second ratio is 0.2, and the maximum discharge power is represented by P. max This means that when the fault level of the vehicle controller is level two, the current discharge power P is 0.5P. max When the fault level of the vehicle controller is level three, the current discharge power P is 0.2P. max .

[0108] The above explanation uses the example of the vehicle controller directly determining the current discharge power based on the maximum discharge power and a first or second ratio. In this embodiment, the message sent by the battery management system to the vehicle controller may also carry the battery temperature, which the vehicle controller stores. When the vehicle controller does not receive a message from the battery management system and its fault level is less than the first level, the vehicle controller stores the previously stored maximum discharge power and battery temperature.

[0109] If the vehicle controller's fault level is Level 2 and the battery temperature is within the preset temperature range, the vehicle controller determines the current discharge power by multiplying the maximum discharge power by the first ratio. If the vehicle controller's fault level is Level 3 and the battery temperature is within the preset temperature range, the vehicle controller determines the current discharge power by multiplying the maximum discharge power by the second ratio.

[0110] Step 303: The vehicle controller obtains the first torque corresponding to the accelerator pedal, the maximum output torque of the motor, the load power, the motor efficiency, and the motor speed.

[0111] Load power represents the power consumed by electrical devices in the vehicle, such as air conditioners, DC-DC converters, or other electrical devices. Load power is the power required for these devices to operate. The vehicle controller can pre-store the load power of these devices and retrieve it when the fault level of the vehicle controller is less than the first level. When there are multiple electrical devices, the load power retrieved by the vehicle controller is the sum of the power of all the devices.

[0112] The vehicle controller can send a first acquisition command to the motor controller. Based on the first acquisition command, the motor controller sends the maximum output torque of the motor, the motor efficiency, and the motor speed to the vehicle controller.

[0113] The vehicle controller can send a second acquisition command to the accelerator pedal sensor. Based on the second acquisition command, the accelerator pedal sensor acquires the position of the accelerator pedal and sends the accelerator pedal position to the vehicle controller. Based on the position of the accelerator pedal, the vehicle controller determines the first torque.

[0114] Step 304: The vehicle controller determines the target torque based on the current discharge power, first torque, maximum output torque, load power, motor efficiency, and motor speed; and sends the target torque to the motor controller.

[0115] The vehicle controller determines the difference between the current discharge power and the load power to obtain a first difference value; it then determines the product of the first difference value, the motor efficiency, and a first constant to obtain a second value; finally, it determines the ratio of the second value to the motor speed to obtain a first ratio value; and finally, it determines the minimum value among the first torque, the maximum output torque, and the first ratio value as the target torque. Alternatively, the vehicle controller can first determine the minimum value between the first torque and the maximum output torque, compare this minimum value with the first ratio value, and determine the minimum of these two values ​​as the target torque. (See [link to relevant documentation]). Figure 4 After determining the target torque, the vehicle controller sends the target torque to the motor controller.

[0116] The first constant can be set as needed; for example, the first constant can be 9550. See also... Figure 4 .

[0117] Step 305: The motor controller adjusts the torque output by the motor to the target torque.

[0118] The motor controller adjusts the torque output by the motor to the target torque, so that the motor can drive the vehicle to continue driving based on the target torque.

[0119] In this embodiment, if the vehicle controller's fault level is Level 2 and it has not received any messages from the battery management system, the fault level of the vehicle controller will escalate from Level 2 to Level 3 or even Level 1. In this case, the torque output by the motor will decrease.

[0120] Step 306: If the fault level of the vehicle controller is Level 1 and the vehicle has not reached its destination, the vehicle controller determines the product of the maximum discharge power and the third ratio to obtain the first value.

[0121] If the fault level of the vehicle controller is Level 1, the vehicle controller determines whether the vehicle has reached its destination.

[0122] The vehicle controller can obtain the current location through the positioning system and determine the distance between the current location and the destination. If the distance is less than a first distance, it is determined that the vehicle has reached the destination. If the distance is not less than the first distance, it is determined that the vehicle has not reached the destination.

[0123] Alternatively, the vehicle controller can send a destination confirmation request to the in-vehicle display device. Based on the request, the in-vehicle display device displays a pop-up window showing "Have you reached your destination?" and a confirmation option. In response to a triggering action on the first option, the in-vehicle display device confirms that the vehicle has reached its destination and sends a first notification message to the vehicle controller. The first option indicates that the vehicle has reached its destination. The vehicle controller determines that the vehicle has reached its destination based on the first notification message. In response to a triggering action on the second option, the in-vehicle display device confirms that the vehicle has not reached its destination and sends a second notification message to the vehicle controller. The second option indicates that the vehicle has not reached its destination. The vehicle controller determines that the vehicle has not reached its destination based on the second notification message.

[0124] When the vehicle controller determines that the vehicle has not reached its destination, it directly calculates the product of the maximum discharge power and the third ratio to obtain the first value. The third ratio is less than the second ratio. Alternatively, if the vehicle controller determines that the vehicle has not reached its destination and the battery temperature is within a preset temperature range, it calculates the product of the maximum discharge power and the third ratio to obtain the first value. For example, if the second ratio is 0.2 and the third ratio is 0.1, then the first value is 0.1P. max .

[0125] Step 307: The vehicle controller determines the current discharge power based on the first value, and executes the step of determining the target torque based on the current discharge power, the first torque, the maximum output torque, the load power, the motor efficiency, and the motor speed.

[0126] The vehicle controller can determine the current discharge power as either a first value or a third value that is less than the first value, meaning the current discharge power is not greater than the first value. After determining the current discharge power, the vehicle controller executes steps 304-305, and the vehicle enters limp mode.

[0127] Step 308: If the fault level of the vehicle controller is Level 1 and the vehicle arrives at its destination, the vehicle controller sends a power-off signal to the battery management system.

[0128] In this embodiment, although the vehicle controller cannot receive messages from the battery management system, it can still send messages to the battery management system. Therefore, when the vehicle reaches its destination, the vehicle controller sends a power-off signal to the battery management system.

[0129] Step 309: Based on the power-down signal, the battery management system controls the high-voltage relay to switch to the off state.

[0130] The battery management system disconnects the high-voltage relay based on the power-down signal.

[0131] When the vehicle is powered on again, if the bidirectional communication between the vehicle controller and the battery management system is restored, the first duration will be reset to zero, and the fault handling scheme will be exited. If the vehicle controller still does not receive messages from the battery management system, it will no longer send closing commands to the battery management system to request the high-voltage relay to close, thereby promptly reminding the user to perform vehicle maintenance to restore communication between the vehicle controller and the battery management system.

[0132] This application provides a vehicle communication fault handling method. When the vehicle controller fails to receive messages from the battery management system, the fault level of the vehicle controller is determined based on the duration of the unreceived messages. If the fault level is less than the first level, a target torque for the motor is determined, and the motor is controlled based on this target torque. Since the current battery discharge power is determined based on the maximum discharge power previously sent by the battery management system, the target torque determined based on the previous maximum discharge power is a safe torque, ensuring user safety. Furthermore, while ensuring user safety, controlling the motor to continue operating based on the target torque to drive the vehicle meets the user's driving needs. Therefore, this method can both ensure user safety and meet the user's driving requirements.

[0133] The following example illustrates how to handle a fault when the battery management system fails to receive a message from the vehicle controller. Figure 5 This application provides a method for handling vehicle communication faults, see [link to relevant documentation]. Figure 5 The method includes:

[0134] Step 501: If the battery management system does not receive a message from the vehicle controller, it determines the second time elapsed since the last received message; and determines the fault level of the battery management system based on the second time elapsed.

[0135] In this embodiment of the application, the battery management system can periodically or in real time determine whether it can receive a message sent by the vehicle controller. If it does not receive a message sent by the vehicle controller, the battery management system determines a second duration.

[0136] The process by which the battery management system determines the fault level of the battery management system based on the second duration is the same as the process by which the vehicle controller determines the fault level of the vehicle controller based on the first duration in step 301, and will not be repeated here.

[0137] For example, the number of cycles determined by the battery management system based on the second duration is X2. If 30 < X2 ≤ 60, the fault level of the battery management system is determined to be the second level; if 60 < X2 ≤ 120, the fault level of the battery management system is determined to be the third level; if X1 > 120, the fault level of the battery management system is determined to be the first level.

[0138] Step 502: If the fault level of the battery management system is less than the first level, the battery management system obtains the current maximum discharge power of the battery and sends the fault level and the current maximum discharge power of the battery management system to the vehicle controller.

[0139] If the fault level of the battery management system is level two or three, the battery management system obtains the current maximum discharge power of the battery.

[0140] In this embodiment, although the battery management system (BMS) does not receive messages from the vehicle controller, it can still send messages to the vehicle controller. Therefore, after obtaining the current maximum discharge power of the battery, the BMS can send the fault level of the battery management system and the current maximum discharge power to the vehicle controller.

[0141] In this embodiment, the battery management system can also acquire the battery temperature. Accordingly, the battery management system sends the battery temperature, the battery management system fault level, and the current maximum discharge power to the vehicle controller. (See [link to relevant documentation]). Figure 6 .

[0142] Step 503: If the fault level of the battery management system is less than the first level, the vehicle controller determines the current maximum discharge power as the current discharge power and executes the step of determining the target torque based on the current discharge power, the first torque, the maximum output torque, the load power, the motor efficiency, and the motor speed.

[0143] If the battery management system's fault level is Level 2 or Level 3, the vehicle controller directly determines the current maximum discharge power as the current discharge power and executes steps 304-305, allowing the motor to drive the vehicle to continue driving. Alternatively, if the vehicle controller determines that the battery temperature is within a preset temperature range, it then determines the current maximum discharge power as the current discharge power and executes steps 304-305, allowing the motor to drive the vehicle to continue driving.

[0144] Step 504: If the fault level of the battery management system is Level 1, and it is confirmed that the driver's side seat belt is unfastened and the driver's side door is opened, the battery management system controls the high-voltage relay to switch to the off state.

[0145] If the battery management system's fault level is Level 1, the battery management system can send a third acquisition command to the driver's side seatbelt sensor. Based on the third acquisition command, the driver's side seatbelt sensor detects the status of the driver's side seatbelt and sends the status information back to the battery management system. (Continue to see...) Figure 6 .

[0146] Furthermore, the battery management system sends a fourth acquisition command to the driver's side door sensor. Based on this command, the driver's side door sensor detects the status of the driver's side door and sends this status information back to the battery management system. (Continue to see...) Figure 6 .

[0147] The battery management system determines whether the driver's side seatbelt is unfastened based on its status, and whether the driver's side door is open based on its status. If the system determines that the driver's side seatbelt is unfastened and the driver's side door is open, the battery management system determines that the driver has exited the vehicle and actively disconnects the high-voltage relay.

[0148] Step 505: If the fault level of the battery management system is Level 1, the battery management system sends the fault level of the battery management system to the vehicle controller.

[0149] In this embodiment of the application, if the fault level of the battery management system is the first level, the battery management system also sends the fault level of the battery management system to the vehicle controller.

[0150] Step 506: When the battery management system is at fault level 1, the vehicle controller sends a fault signal to the instrument system.

[0151] If the fault level of the battery management system is Level 1, the vehicle controller sends a fault signal to the instrument system, which is used to indicate a fault in the battery management system.

[0152] Step 507: The instrument system illuminates the battery fault light based on the fault signal.

[0153] Based on the fault signal, the instrument system illuminates the battery fault light on the dashboard, allowing users to be aware of battery management system malfunctions in a timely manner, enabling them to repair the battery management system and restore communication between the vehicle controller and the battery management system.

[0154] It should be noted that the battery management system can execute step 504 first and then steps 505-507, or it can execute steps 505-507 first and then step 504; there is no specific limitation on this.

[0155] When the vehicle is powered on again, if bidirectional communication between the vehicle controller and the battery management system is restored, the second duration will be reset to zero, and the fault handling plan will be exited. If the battery management system still does not receive messages from the vehicle controller, it will keep the high-voltage relay in the open state to promptly remind the user to perform vehicle maintenance in order to restore communication between the vehicle controller and the battery management system.

[0156] This application provides a vehicle communication fault handling method. When the battery management system (BMS) fails to receive messages from the vehicle controller, the fault level of the BMS is determined based on the duration of message loss. If the fault level is less than the first level, a target torque for the motor is determined, and the motor is controlled based on this target torque. Since the current battery discharge power is based on the maximum discharge power currently transmitted by the BMS when determining the target torque, the target torque determined based on the current maximum discharge power is a safe torque, ensuring user safety. Furthermore, while ensuring user safety, controlling the motor to continue operating based on the target torque to drive the vehicle meets the user's driving needs. Therefore, this method can both ensure user safety and meet the user's driving requirements.

[0157] In this embodiment, based on the duration or number of consecutive cycles during which the vehicle controller cannot receive messages from the battery management system, and the duration or number of consecutive cycles during which the battery management system cannot receive messages from the vehicle controller, different levels of communication abnormalities between the vehicle controller and the battery management system are classified. Different handling schemes are set for different levels of faults, ensuring battery system safety while avoiding direct disconnection of the high-voltage relay, which would cause the vehicle to completely lose power and degrade the user's driving experience. This solution improves the control schemes of the vehicle controller, motor controller, and battery management system, enhancing the user's driving experience while ensuring battery safety.

[0158] Furthermore, the vehicle controller and battery management system periodically or in real time monitor whether they can receive each other's messages. Under certain conditions, when the message can be received again, the first or second duration is reset to zero.

[0159] The structural block diagram of the vehicle controller can be found in [reference needed]. Figure 7 The vehicle controller 700 can vary considerably depending on its configuration or performance. It may include a Central Processing Unit (CPU) 701 and a memory 702. The memory 702 stores at least one line of program code, which is loaded and executed by the processor 701 to perform the operations performed by the vehicle controller in the aforementioned vehicle communication fault handling method. Of course, the vehicle controller 700 may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The vehicle controller 700 may also include other components for implementing device functions, which will not be elaborated upon here.

[0160] Block diagram of motor controller and battery management system Figure 7 Same, see also Figure 7 This will not be elaborated upon here.

[0161] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one piece of program code that is loaded and executed by a processor to implement the vehicle communication fault handling method in the above embodiments.

[0162] In an exemplary embodiment, a computer program product is also provided, which stores at least one piece of program code, which is loaded and executed by a processor to implement the vehicle communication fault handling method in the above embodiments.

[0163] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0164] The above description is only for the purpose of enabling those skilled in the art to understand the technical solution of this application, and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A vehicle communication failure handling system, characterized by, The system comprises a vehicle controller and a motor controller; the vehicle controller and the motor controller are electrically connected; The vehicle controller is configured to determine a first time length from the last time when a message sent by a battery management system is received, and determine a failure level of the vehicle controller based on the first time length; The vehicle controller is further configured to acquire a maximum discharge power of the battery if the failure level of the vehicle controller is less than a first level, determine a current discharge power of the battery based on the failure level of the vehicle controller and the maximum discharge power, wherein the maximum discharge power is stored at the last time when the message is received; The vehicle controller is further configured to acquire a first torque corresponding to an accelerator pedal, a maximum output torque of the motor, a load power, a motor efficiency and a motor speed, wherein the load power represents a power consumed by an electrical equipment in the vehicle; The vehicle controller is further configured to determine a target torque based on the current discharge power, the first torque, the maximum output torque, the load power, the motor efficiency and the motor speed, and send the target torque to the motor controller; The motor controller is configured to adjust a torque output by the motor to the target torque.

2. The system of claim 1, wherein, The vehicle controller is further configured to determine a product of the maximum discharge power and a first proportion to obtain the current discharge power if the failure level of the vehicle controller is a second level; The vehicle controller is further configured to determine a product of the maximum discharge power and a second proportion to obtain the current discharge power if the failure level of the vehicle controller is a third level, wherein the second level is less than the third level, the third level is less than the first level, and the first proportion is greater than the second proportion.

3. The system of claim 2, wherein, The vehicle controller is further configured to determine a product of the maximum discharge power and a third proportion to obtain a first value if the failure level of the vehicle controller is the first level and the vehicle does not reach a destination, determine the current discharge power based on the first value, and perform the step of determining the target torque based on the current discharge power, the first torque, the maximum output torque, the load power, the motor efficiency and the motor speed, wherein the current discharge power is not greater than the first value, and the third proportion is less than the second proportion.

4. The system of claim 2, wherein, The vehicle controller is further configured to send a power-off signal to the battery management system if the failure level of the vehicle controller is the first level and the vehicle reaches the destination. The battery management system is configured to control a high-voltage relay to switch to a disconnected state based on the power-off signal.

5. The system of claim 1, wherein, The vehicle controller is further configured to determine a first difference value of the current discharge power and the load power; The vehicle controller is further configured to determine a second value of a product of the first difference value, the motor efficiency and a first constant; The vehicle controller is further configured to determine a first ratio value of a ratio of the second value to the motor speed; The vehicle controller is further configured to determine the target torque as a minimum value of the first torque, the maximum output torque and the first ratio value.

6. The system of claim 1, wherein, The battery management system is configured to determine a second time length from the last time when the message is received in a case where the message sent by the vehicle control unit is not received, determine a failure level of the battery management system based on the second time length, acquire a current maximum discharge power of the battery in a case where the failure level of the battery management system is less than the first level, and send the failure level of the battery management system and the current maximum discharge power to the vehicle control unit. The vehicle control unit is further configured to determine the current maximum discharge power as the current discharge power in a case where the failure level of the battery management system is less than the first level, and execute the step of determining the target torque based on the current discharge power, the first torque, the maximum output torque, the load power, the motor efficiency and the motor rotating speed.

7. The system of claim 6, wherein, The battery management system is further configured to control a high-voltage relay to switch to a disconnected state in a case where the failure level of the battery management system is the first level and it is determined that the main driver side safety belt is released and the main driver side door is opened.

8. The system of claim 7, wherein, The system further comprises an instrument system. The battery management system is further configured to send the failure level of the battery management system to the vehicle control unit in a case where the failure level of the battery management system is the first level. The vehicle control unit is further configured to send a failure signal to the instrument system in a case where the failure level of the battery management system is the first level, and the failure signal is used to indicate that the battery management system fails. The instrument system is configured to light up a battery failure lamp based on the failure signal.

9. A vehicle communication failure processing method characterized by comprising: The method comprises: The vehicle control unit is configured to determine a first time length from the last time when the message is received in a case where the message sent by the battery management system is not received, and determine a failure level of the vehicle control unit based on the first time length. The vehicle control unit is configured to acquire a maximum discharge power of the battery in a case where the failure level of the vehicle control unit is less than the first level, determine a current discharge power of the battery based on the failure level of the vehicle control unit and the maximum discharge power, and the maximum discharge power is stored at the last time when the message is received. The vehicle control unit is configured to acquire a first torque corresponding to an accelerator pedal, a maximum output torque of a motor, a load power, a motor efficiency and a motor rotating speed, and the load power is used to represent a power consumed by an electrical equipment in the vehicle. The vehicle control unit is configured to determine a target torque based on the current discharge power, the first torque, the maximum output torque, the load power, the motor efficiency and the motor rotating speed, and send the target torque to a motor controller. The motor controller is configured to adjust a torque output by the motor to the target torque.

10. An electronic device, comprising: The electronic device comprises a processor and a memory, and the memory stores at least one program code, which is loaded and executed by the processor to implement the vehicle communication failure processing method of the vehicle control unit or the motor controller as claimed in claim 9.

Citation Information

Patent Citations

  • Whole vehicle control method, whole vehicle control system and vehicle

    CN111619350A

  • Vehicle-mounted terminal communication fault control method, device and system and vehicle

    CN112440746A