Battery pack control method and device and vehicle

By controlling the closure and message transmission of the relay according to the vehicle status information when the vehicle controller is abnormally reset, the safety hazards caused by the mis-closing of the relay are solved, and the safety of electric vehicles is improved.

CN119078531AActive Publication Date: 2024-12-06GREAT WALL MOTOR CO LTD

Patent Information

Application Number
CN202411370954.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2024-12-06
Estimated Expiration
2044-09-29

AI Technical Summary

Technical Problem

After the electric vehicle's vehicle controller is abnormally reset, the relay is accidentally closed, which may cause the battery pack to overheat, short circuit and fire, and the user faces the risk of high-voltage electric shock, reducing vehicle safety.

Method used

When the vehicle controller is abnormally reset, the current status information of the vehicle is obtained. If the high-voltage power-up condition is met, the relay will be closed, otherwise the state will remain unchanged. By pausing or adjusting the transmission of closed messages, the probability of relay error is reduced, and Adjust the vehicle status according to the reset reason.

Benefits of technology

It effectively reduces the risk of overheating, short circuit and fire caused by misclosing the relay, reduces the risk of high-voltage electric shock for users, and improves the safety of the vehicle and the integrity of parts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119078531A_ABST
    Figure CN119078531A_ABST
Patent Text Reader

Abstract

The invention provides a battery pack control method and device and a vehicle, and is applied to the technical field of vehicles. The method comprises the steps of obtaining current first state information of a vehicle under the condition that abnormal reset of a vehicle control unit is monitored, if it is determined that the vehicle meets a high-voltage power-on condition according to the first state information, controlling a relay of a battery pack to be closed, and if it is determined that the vehicle does not meet the high-voltage power-on condition according to the first state information, controlling the relay of the battery pack to be closed. If yes, controlling the state of the relay to be unchanged. Therefore, after the vehicle control unit is abnormally reset, the probability that the relay is mistakenly closed when the vehicle does not meet the high-voltage power-on condition can be reduced, so that the problems of overheating, short circuit, fire and the like of the battery pack caused by the mistakenly closed relay can be reduced, meanwhile, the risk of high-voltage electric shock of a user can be reduced, and the safety of the vehicle can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and more specifically, to a battery pack control method, device and vehicle in the field of vehicle technology. Background Art

[0002] At present, in order to prevent safety accidents from occurring after the abnormal reset of the vehicle controller, the status information of the vehicle is recorded in real time during the driving process of the electric vehicle (hereinafter referred to as the vehicle). After the abnormal reset of the vehicle controller, the vehicle status will be restored according to the recorded status information to avoid a large state change of the vehicle when the vehicle controller is abnormally reset, making it difficult for the user to respond quickly, thereby causing a safety accident. Although this method can quickly restore the vehicle status after the abnormal reset of the vehicle controller and reduce the probability of safety accidents, there are still certain safety hazards, which makes the safety of the vehicle low. Summary of the invention

[0003] The present application provides a battery pack control method, device and vehicle, which can eliminate the safety hazard after the abnormal reset of the vehicle controller and improve the safety of the vehicle.

[0004] In a first aspect, a battery pack control method is provided, the method being applied to a vehicle controller in a vehicle, the vehicle also including a battery pack, including:

[0005] When an abnormal reset of the vehicle controller is detected, obtaining current first state information of the vehicle;

[0006] If it is determined according to the first state information that the vehicle meets the high-voltage power-on condition, controlling the relay of the battery pack to close;

[0007] If it is determined according to the first status information that the vehicle does not meet the high-voltage power-on condition, the state of the relay is controlled to remain unchanged.

[0008] In the embodiment of the present application, when the abnormal reset of the vehicle controller is detected, the current first state information of the vehicle is obtained. If it is determined that the vehicle meets the high-voltage power-on condition according to the first state information, the relay of the battery pack is controlled to close. If it is determined that the vehicle does not meet the high-voltage power-on condition according to the first state information, the state of the control relay remains unchanged. In this way, after the abnormal reset of the vehicle controller, the probability of the relay being mistakenly closed when the vehicle does not meet the high-voltage power-on condition can be reduced, thereby reducing problems such as battery pack overheating, short circuit and fire caused by the mistaken closure of the relay, and at the same time reducing the risk of high-voltage electric shock to the user, thereby improving the safety of the vehicle.

[0009] In combination with the first aspect, in some possible implementations, before obtaining the current first status information of the vehicle, the method also includes: generating a closing message; wherein the closing message is used to instruct the battery management system of the battery pack to control the relay to close; suspending the sending of the closing message, so as to send the closing message to the battery management system when it is determined that the vehicle meets the high-voltage power-on conditions or destroying the closing message when it is determined that the vehicle does not meet the high-voltage power-on conditions.

[0010] In an embodiment of the present application, after the vehicle controller is abnormally reset, the sending of the closing message is suspended, and when the vehicle meets the high-voltage power-on conditions, the closing message is sent to control the relay to close, and when the vehicle does not meet the high-voltage power-on conditions, the closing message is canceled. This can reduce the probability of the relay closing by mistake without changing the existing control logic of the vehicle controller.

[0011] In combination with the first aspect, in some possible implementations, the method also includes: at a first time point after the vehicle controller is reset, starting a normal message receiving function of the vehicle controller to receive the first status information sent by other components in the vehicle through the normal message receiving function; at a second time point after the first time point, starting the normal message sending function of the vehicle controller to suspend the sending of the closed message between the first time point and the second time point; wherein the interval between the second time point and the first time point is greater than the time required for the vehicle controller to obtain the first status information.

[0012] In an embodiment of the present application, a normal message receiving function is started at a first time point to obtain status information of the vehicle, and whether the vehicle meets the high-voltage power-on condition is determined based on the obtained status information. A normal message sending function is started at a second time point, and the sending of closed messages can be suspended before the second time point. In this way, the sending of closed messages can be suspended without changing the original control logic of the vehicle controller, thereby reducing changes to the vehicle controller.

[0013] In combination with the first aspect, in some possible implementations, the suspension of sending the closed message includes: controlling the normal message sending function of the vehicle controller to be in an invalid state; or controlling the closed message to be invalid for a preset time period, so as to restart the sending of the closed message after an interval of the preset time period; wherein the preset time period is greater than the time required for the vehicle controller to obtain the first status information.

[0014] In combination with the first aspect, in some possible implementations, before obtaining the current first status information of the vehicle, the method also includes: sending a retention message to a battery management system in the vehicle; wherein the retention message is used to instruct the battery management system to control the state of the relay to remain unchanged within a preset time period, and the preset time period is greater than the time required for the vehicle controller to obtain the first status information.

[0015] In an embodiment of the present application, before obtaining the first status information, the state of the message control relay is maintained for a preset period of time. When the first status information is obtained and it is determined that the vehicle meets the high-voltage power-on condition based on the first status information, a closing signal is sent to the BMS. This can ensure that when it is determined that the vehicle meets the high-voltage power-on condition based on the first status information, the relay is controlled to close and the vehicle enters the high-voltage power-on state, thereby reducing the probability of the relay being mistakenly closed.

[0016] In combination with the first aspect, in some possible implementations, the closure of the relay controlling the battery pack includes: determining a reset reason for resetting the vehicle controller; if the reset reason is a target reset reason, controlling the relay to close; wherein the target reset reason is a reset reason that will not cause continuous resetting of the vehicle controller.

[0017] In an embodiment of the present application, after the vehicle controller is abnormally reset, when it is determined that the vehicle meets the high-voltage power-on state and the reset reason is the target reset reason, the control relay is closed to make the vehicle enter the high-voltage power-on state, which can reduce the probability of the vehicle controller being abnormally reset again.

[0018] In combination with the first aspect, in certain possible implementations, after controlling the relay to close, the method further includes: acquiring pre-stored second state information of the vehicle corresponding to the target reset reason; and adjusting the state of the vehicle according to the second state information.

[0019] In an embodiment of the present application, after the vehicle controller is abnormally reset, the state of the vehicle is adjusted according to the state parameters corresponding to the reset cause, so that the state of the vehicle after the abnormal reset can be accurately controlled, thereby reducing other problems that may be caused by the closure of the relay.

[0020] In a second aspect, a battery pack control device is provided, the device being arranged in a vehicle controller in a vehicle, the vehicle also including a battery pack, the device comprising:

[0021] An acquisition module, used for acquiring the current first state information of the vehicle when an abnormal reset of the vehicle controller is detected;

[0022] The acquisition module is further configured to control the relay of the battery pack to close if it is determined that the vehicle meets the high-voltage power-on condition according to the first state information;

[0023] A control module is used to control the state of the relay to remain unchanged if it is determined according to the first state information that the vehicle does not meet the high-voltage power-on condition.

[0024] In a third aspect, a vehicle is provided, the vehicle comprising:

[0025] A memory for storing executable program codes;

[0026] A processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in any possible implementation of the first aspect above.

[0027] In a fourth aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is run on a computer, the computer executes the method in any possible implementation manner of the above-mentioned first aspect.

[0028] In a fifth aspect, a readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 is a flowchart of a battery pack control method provided by an embodiment of the present application;

[0030] Figure 2 It is a schematic diagram of the startup process of a message function after a vehicle controller is reset in the related art;

[0031] Figure 3 This is a schematic diagram of the startup process of a message function after a vehicle controller is reset, provided in an embodiment of the present application;

[0032] Figure 4 is a structural schematic diagram of a battery pack control device provided in an embodiment of the present application;

[0033] Figure 5 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0035] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0036] As vehicle functions increase, the vehicle's hardware circuits and software control logic become more and more complex, resulting in an increasing probability of abnormal reset of the vehicle controller (VCU). When the vehicle controller is abnormally reset, the battery pack relay will automatically disconnect, causing the vehicle to lose power, which may cause a significant change in the vehicle's state. If the user does not respond in time, the vehicle may lose control and cause a safety accident.

[0037] In order to prevent safety accidents after abnormal reset of the vehicle controller, the vehicle controller will record the vehicle status information in real time during the driving process. After abnormal reset, the vehicle controller can restore the vehicle status according to the recorded status information to avoid large state changes of the vehicle when the vehicle controller is abnormally reset, making it difficult for users to respond quickly, thus causing safety accidents.

[0038] In actual applications, when the vehicle controller is abnormally reset and the vehicle loses power, the user may respond in time and control the vehicle to stop in time, so that the various components in the vehicle will enter a low-voltage state. At this time, if the vehicle status is restored according to the recorded status information, the relay of the battery pack may be mistakenly closed, which may cause safety problems such as battery pack overheating, short circuit, and even fire. At the same time, if the user repairs the vehicle in time after the vehicle controller is abnormally reset, the mistaken closure of the relay may also cause the user to accidentally touch the high voltage in the vehicle, posing a danger to the user's personal safety. At the same time, when the relay is mistakenly closed, the high voltage output of the battery pack may also damage or even damage the components in the vehicle, threatening the safety of the vehicle.

[0039] In order to solve the above technical problems, an embodiment of the present application provides a control method for a battery pack. In this method, after the abnormal reset of the vehicle controller, the vehicle first determines whether the vehicle meets the high-voltage power-on condition based on the current status information of the vehicle. If the high-voltage power-on condition is met, the control relay is closed. If the high-voltage power-on condition is not met, the control relay remains unchanged. In this way, after the abnormal reset of the vehicle controller, the probability of the relay being closed by mistake can be reduced, thereby reducing the problems of battery pack overheating, short circuit and fire caused by the relay being closed by mistake, and at the same time, the risk of high-voltage electric shock to the user can be reduced, thereby improving the safety of the vehicle. In addition, the probability of damage or damage to various components in the vehicle can be reduced.

[0040] The vehicle controller can be integrated into the vehicle's power domain controller (Power Domain Controller), or it can be set in the vehicle as an independent control device.

[0041] See also Figure 1 , Figure 1 is a flowchart of a battery pack control method provided by an embodiment of the present application. The method can be executed by a vehicle controller in a vehicle, such as Figure 1 As shown, the method may include the following steps:

[0042] Step 101: When an abnormal reset of the vehicle controller is detected, obtain the current first state information of the vehicle.

[0043] The abnormal reset of the vehicle controller refers to the reset operation of the vehicle controller due to some unexpected and abnormal reasons. The first state information is the state information collected after the abnormal reset of the vehicle controller, which can indicate whether the vehicle meets the high-voltage power-on condition.

[0044] In this embodiment, the vehicle controller can monitor itself during operation to monitor whether the vehicle controller itself is abnormally reset. For example, a status register can be set in the vehicle controller. When the vehicle controller is abnormally reset, the data in the status register is set to a preset value. During operation, the vehicle controller can monitor the status register in real time. If it is detected that the data in the status register is set to a preset value, it is determined that the vehicle controller has been abnormally reset. For another example, after the vehicle controller is reset, it will jump to a specific address of the interrupt vector table to execute the reset processing code. If the vehicle controller does not run according to the original plan during operation and suddenly jumps to a specific address of the interrupt vector table, it is determined that the vehicle controller has been abnormally reset. The above is only an illustrative example. The method for the vehicle controller to monitor whether it has been abnormally reset may include but is not limited to the above example.

[0045] Exemplarily, the vehicle controller is connected to the control unit or control module in the vehicle through a controller area network (CAN). After the abnormal reset of the vehicle controller, the network management (Network Management) message sending function and the ordinary message receiving function of the vehicle controller can be started first. The ordinary message receiving function is used to receive other messages in the CAN network except the NM message. The first state information may include the torque of the motor in the vehicle. After starting the NM message sending function and the ordinary message receiving function, the vehicle controller can send an NM message to the motor control unit (MCU) in the vehicle through the NM message sending function to trigger the MCU to send a message including the current torque value of the motor to the vehicle controller, and receive the message through the ordinary message receiving function, and parse and obtain the current torque value of the motor from the message.

[0046] Similarly, the first state information may also include the vehicle speed. After the abnormal reset, the vehicle controller starts the NM message sending function and the ordinary message receiving function, and then sends the NM message to the body control module (BCM) to trigger the BCM to send a message including the current speed of the vehicle to the vehicle controller, and receives the message through the ordinary message receiving function, and parses the message to obtain the current speed of the vehicle.

[0047] Similarly, the first status information may also include the gear position of the vehicle. After the abnormal reset, the vehicle controller starts the NM message sending function and the ordinary message receiving function, and then sends an NM message to the shift control unit (SCU) to trigger the SCU to send a message including the current gear position information of the vehicle to the vehicle controller, and receive the message through the ordinary message receiving function, and parse the message to obtain the current gear position information of the vehicle.

[0048] Among them, the first status information may also include mode information of the DC-DC converter (Direct Current-Direct Current, DCDC) of the battery pack, status information of the Ready signal light in the vehicle, and signal information of the KL15 signal in the vehicle, etc., which can determine whether the vehicle meets the high-voltage power-on conditions. The first status information may include but is not limited to the above examples.

[0049] Step 1021: If it is determined according to the first status information that the vehicle meets the high-voltage power-on condition, the relay of the battery pack is controlled to close.

[0050] Step 1022: If it is determined according to the first status information that the vehicle does not meet the high voltage power-on condition, the state of the control relay remains unchanged.

[0051] Among them, the vehicle meeting the high-voltage power-on conditions means that the vehicle can enter the high-voltage power-on state. After the vehicle can enter the high-voltage power-on state, each component in the vehicle is in a high-voltage state and can be directly powered by the battery pack.

[0052] Exemplarily, after obtaining the current torque value of the motor, the vehicle controller may determine that the vehicle meets the high-voltage power-on condition when the torque value is greater than the preset torque value; and determine that the vehicle does not meet the high-voltage power-on condition when the torque value is less than or equal to the preset torque value. Alternatively, after obtaining the current speed of the vehicle, the vehicle controller may determine that the vehicle meets the high-voltage power-on condition when the speed is greater than the preset speed; and determine that the vehicle does not meet the high-voltage power-on condition when the speed is less than or equal to the preset speed. Alternatively, after obtaining the gear information, the vehicle controller may determine that the vehicle meets the high-voltage power-on condition when it is determined that the current gear of the vehicle is the driving gear according to the gear information; and determine that the vehicle does not meet the high-voltage power-on condition when it is determined that the current gear of the vehicle is not the driving gear according to the gear information. Alternatively, when the first status information includes the vehicle's current speed and torque value, the vehicle controller can determine that the vehicle meets the high-voltage power-on conditions when the torque value is greater than a preset torque value and the vehicle speed is greater than a preset speed; and, the vehicle controller can determine that the vehicle does not meet the high-voltage power-on conditions when the torque value is less than or equal to the preset torque value and / or the vehicle speed is less than or equal to the preset speed.

[0053] It should be understood that the method of determining whether the vehicle meets the high-voltage power-on condition based on the first status information may include but is not limited to the above examples.

[0054] For example, when it is determined according to the first state information that the vehicle meets the high-voltage power-on condition, the vehicle controller can send a closing instruction to the battery management system (BMS) in the battery pack. Correspondingly, after receiving the closing instruction, the BMS can respond to the closing instruction and control the battery pack's relay to close so that the vehicle enters the high-voltage power-on state. On the contrary, when it is determined according to the first state information that the vehicle does not meet the high-voltage power-on condition, the vehicle controller does not send a closing instruction to the BMS, and the BMS does not act, so that the state of the relay can be controlled to remain unchanged.

[0055] Optionally, after the control relay is closed, the vehicle controller may obtain pre-stored status information of the vehicle (the status information may be referred to as second status information) and adjust the status of the vehicle according to the status information. For example, the status information may include the historical speed of the vehicle recorded before the abnormal reset of the vehicle controller. After the control relay is closed, the speed of the vehicle may be adjusted to the historical speed. For another example, the status information may include a target speed pre-set for the abnormal reset of the vehicle controller. After the control relay is closed, the speed of the vehicle may be adjusted to the target speed. The above are only exemplary examples, and the status information may include vehicle speed, motor torque, motor power, etc., but is not limited to this.

[0056] In the embodiment of the present application, when the abnormal reset of the vehicle controller is detected, the current first state information of the vehicle is obtained. If it is determined that the vehicle meets the high-voltage power-on condition according to the first state information, the relay of the battery pack is controlled to close. If it is determined that the vehicle does not meet the high-voltage power-on condition according to the first state information, the state of the control relay remains unchanged. In this way, after the abnormal reset of the vehicle controller, the probability of the relay being mistakenly closed when the vehicle does not meet the high-voltage power-on condition can be reduced, thereby reducing problems such as battery pack overheating, short circuit and fire caused by the mistaken closure of the relay, and at the same time, the risk of high-voltage electric shock to the user can be reduced, thereby improving the safety of the vehicle. In addition, the probability of damage or destruction of various components in the vehicle can be reduced.

[0057] Optionally, before obtaining the current first state information of the vehicle, the method may further include:

[0058] Generate a closing message; wherein the closing message is used to instruct the battery management system of the battery pack to control the relay to close;

[0059] The sending of the closing message is suspended to send the closing message to the battery management system when it is determined that the vehicle meets the high-voltage power-on condition or to destroy the closing message when it is determined that the vehicle does not meet the high-voltage power-on condition.

[0060] In this embodiment, after an abnormal reset occurs, the vehicle controller can first generate a closing message including a closing instruction. After the closing message is generated, the closing message is saved, and the process of sending the closing message is not started. Afterwards, the current first state information of the vehicle can be obtained, and whether the vehicle meets the high-voltage power-on condition can be determined based on the first state information. When it is determined that the vehicle meets the high-voltage power-on condition based on the first state information, the sending of the closing message can be started, and the closing message can be sent to the BMS. Correspondingly, after receiving the closing message, the BMS parses the closing message, obtains the closing instruction from the closing message, responds to the closing instruction, and controls the battery pack relay to close, so that the vehicle enters the high-voltage power-on state.

[0061] On the contrary, when it is determined according to the first status information that the vehicle does not meet the high-voltage power-on conditions, the vehicle controller can destroy the pre-generated closing message and not send the closing message to the BMS, so that the BMS keeps the state of the relay unchanged and maintains it in the disconnected state.

[0062] In the related art, when restoring the vehicle state according to the vehicle state information before the abnormal reset of the vehicle controller, the vehicle controller will directly generate a closing message after the abnormal reset, and send the closing message to the BMS to close the relay. In this way, when the vehicle does not meet the high-voltage power-on conditions, a closing message will be sent to the BMS, causing the relay to be mistakenly closed.

[0063] In an embodiment of the present application, after the vehicle controller is abnormally reset, the sending of the closing message is suspended, and when the vehicle meets the high-voltage power-on conditions, the closing message is sent to control the relay to close, and when the vehicle does not meet the high-voltage power-on conditions, the closing message is canceled. This can reduce the probability of the relay closing by mistake without changing the existing control logic of the vehicle controller.

[0064] Optionally, the method may further include:

[0065] At a first time point after the vehicle controller is reset, starting a common message receiving function of the vehicle controller to receive first status information sent by other components in the vehicle through the common message receiving function;

[0066] At a second time point after the first time point, the normal message sending function of the vehicle controller is started to suspend the sending of the closed message between the first time point and the second time point; wherein the interval between the second time point and the first time point is greater than the time required for the vehicle controller to obtain the first status information.

[0067] Among them, the normal message sending function is used to send other messages except NM messages in the CAN network.

[0068] For example, after the abnormal reset, the vehicle controller can start the common message receiving function at a first time point, and start the common message sending function at a second time point after the first time point. In this way, after starting the message receiving function, the first state information can be obtained through the common message receiving function, and it is determined whether the vehicle meets the high voltage power-on condition according to the first state information.

[0069] The interval between the second time point and the first time point is longer than the time required for the vehicle controller to obtain the first state information. Thus, before the second time point, the pre-generated closed message cannot be sent because the ordinary message sending function is not started, and the sending of the closed message can be suspended. After the second time point, it has been determined based on the first state information whether the vehicle meets the high-voltage power-on condition or does not meet the high-voltage power-on condition, and the ordinary message sending function has been started. When the vehicle meets the high-voltage power-on condition, the closed message can be sent to the BMS, and when the vehicle does not meet the high-voltage power-on condition, the closed message can be revoked.

[0070] See also Figure 2 , Figure 2 This is a schematic diagram of the startup process of the message function after the vehicle controller is reset in the related art. Figure 2 As shown, in the related art, the vehicle controller is abnormally reset at time point 21. After the abnormal reset, the vehicle controller first starts the NM message sending function at time point 22, and then sends an NM message at time point 23 to trigger other components to send the first status information to the vehicle controller, and simultaneously starts the ordinary message sending function and the ordinary message receiving function at time point 24 to receive the first status information through the ordinary message receiving function and send the closed message through the ordinary message sending function.

[0071] Specifically, when starting the NM message sending function, the mode request port (Mode Request Port) of the mode manager (BSWMode Manager) in the vehicle controller can be called to configure the immediate / deferred attributes of the mode manager to start the NM message sending function. Similarly, when starting the ordinary message sending function and the ordinary message receiving function, the mode request port can be called to configure the relevant attributes of the mode manager to start the ordinary message sending function and the ordinary message receiving function.

[0072] In the related art, since the normal message sending function and the normal message receiving function are started at the same time point, the vehicle controller can only obtain the first status information after starting the normal message receiving function. At this time, the closing message may have been generated and sent to the BMS, causing the BMS to control the relay to close according to the closing message, which in turn causes the relay to close incorrectly.

[0073] See also Figure 3 , Figure 3It is a schematic diagram of the startup flow of a message function after a vehicle controller is reset provided by an embodiment of the present application. In the embodiment of the present application, after the vehicle controller is abnormally reset at time point 31, the NM message sending function is first started at time point 32, and then an NM message is sent at time point 33, the ordinary message receiving function is started at time point 34, and the ordinary message sending function is started at time point 35. Time point 34 is the first time point, and time point 35 is the second time point. There may be a certain time interval between time point 34 and time point 35, and the time interval may be a preset time interval, and the preset time interval is, for example, 20 milliseconds, which is greater than the time required for the vehicle controller to obtain the first state information.

[0074] Before time point 35, since the ordinary message sending function is not turned on, the closing message cannot be sent, that is, the closing message is suspended. The vehicle controller obtains the first state information between time point 34 and time point 35, and determines whether the vehicle meets the high-voltage power-on condition based on the first state information. After determining that the vehicle meets the high-voltage power-on condition, the ordinary message sending function is started at time point 35, and a closing message is sent to the BMS to close the BMS control relay. After determining that the vehicle does not meet the high-voltage power-on condition, the closing message is revoked, and the ordinary message sending function is continued to be started at time point 35, and other messages can be sent out.

[0075] In an embodiment of the present application, a normal message receiving function is started at a first time point to obtain status information of the vehicle, and whether the vehicle meets the high-voltage power-on condition is determined based on the obtained status information. A normal message sending function is started at a second time point, and the sending of closed messages can be suspended before the second time point. In this way, the sending of closed messages can be suspended without changing the original control logic of the vehicle controller, thereby reducing changes to the vehicle controller.

[0076] Optionally, suspending the sending of a closing message includes:

[0077] The normal message sending function of the vehicle controller is in a disabled state;

[0078] Alternatively, the closed message failure is controlled to be set to a preset time length, so as to restart the sending of the closed message after an interval of the preset time length; wherein the preset time length is greater than the time length required for the vehicle controller to obtain the first status information.

[0079] In one embodiment, after the abnormality is reset and a closed message is generated, the vehicle controller can first determine whether the ordinary message sending function is activated. If the ordinary message sending function has been activated, the ordinary message sending function is turned off to make the ordinary message sending function in an invalid state. After obtaining the first state information, if it is determined according to the first state information that the vehicle meets the high-voltage power-on state, the ordinary message sending function can be started again and the closed message can be resent. And, after obtaining the first state information, if it is determined according to the first state information that the vehicle meets the non-high-voltage power-on state, the ordinary message sending function can also be started again. At this time, the closed message can be revoked, and other messages can be sent through the ordinary message sending function.

[0080] In another embodiment, a status flag bit can be set in advance for the closed message. After the abnormal reset, the vehicle controller first sets the status flag bit of the closed message to 0, and the status flag bit indicates that the closed message is in an invalid state. After setting the status flag bit to 0, the timing can be started. When the timing duration reaches the preset duration, the status flag bit of the closed message can be set to 1, and the status flag bit indicates that the closed message is in a valid state. The vehicle controller generates a closed message after setting the status flag bit of the closed message. In the process of sending the closed message, the vehicle controller first determines the status flag bit. If the status flag bit is 0, the closed message is not sent to the BMS. If the status flag bit is 1, the closed message is sent to the BMS.

[0081] The preset duration is longer than the duration required for the vehicle controller to obtain the first state information. During the period when the closed message is in an invalid state, the vehicle controller can obtain the first state information and determine whether the vehicle meets the high-voltage power-on condition based on the first state information. After the closed message is switched to a valid state, the vehicle controller can send a closed signal to the BMS if the vehicle meets the high-voltage power-on condition, and cancel the closed signal if the vehicle does not meet the high-voltage power-on condition, and not send a closed signal to the BMS.

[0082] The above are merely illustrative examples, and specific methods for suspending the sending of a closing message may include, but are not limited to, the above examples.

[0083] Optionally, before obtaining the current first state information of the vehicle, the method further includes:

[0084] Send a hold message to the battery management system in the vehicle;

[0085] Among them, the maintenance message is used to instruct the battery management system to control the state of the relay to remain unchanged within a preset time period, and the preset time period is greater than the time required for the vehicle controller to obtain the first state information.

[0086] In one embodiment, after an abnormal reset, the vehicle controller first sends a hold message to the BMS. The BMS starts timing after receiving the hold message. Before the timing reaches a preset time, the BMS does not control the relay regardless of whether it receives a closing message sent by the vehicle controller, so as to keep the state of the relay unchanged within the preset time.

[0087] After sending the hold message, the vehicle controller can obtain the first state information, and determine whether the vehicle meets the high-voltage power-on condition based on the first state information. If the high-voltage power-on condition is met, a closing message is sent to the BMS, and if the high-voltage power-on condition is not met, no closing message is sent to the BMS. Correspondingly, after the timing reaches the preset time, if the BMS receives the closing message sent by the vehicle controller, it responds to the closing message and controls the relay to close; if the closing message sent by the BMS is not received, the relay is not controlled to operate.

[0088] Among them, during the timing process, before the timing time reaches the preset time, if the BMS receives a closing message sent by the vehicle controller, it can discard the closing message and not respond to the closing message. After the timing time reaches the preset time, if the BMS receives a closing message sent by the vehicle controller, it can respond to the closing message and control the relay to close.

[0089] Optionally, after sending the hold message to the BMS, the vehicle controller may also start timing, obtain the first state information, and determine whether the vehicle meets the high-voltage power-on condition based on the first state information. After determining that the vehicle meets the high-voltage power-on condition, a closing message may be sent to the BMS after the timing reaches a preset time. After determining that the vehicle does not meet the high-voltage power-on condition, the closing message is not sent to the BMS after the timing reaches a preset time.

[0090] Optionally, the vehicle controller can start the normal message receiving function before sending the hold message to the BMS to obtain the first status information, and start the normal message sending function after sending the hold message to the BMS, so as to send a closing message to the BMS through the normal message sending function after determining that the vehicle meets the high-voltage power-on conditions according to the first status information.

[0091] In an embodiment of the present application, before obtaining the first status information, the state of the message control relay is maintained for a preset period of time. When the first status information is obtained and it is determined that the vehicle meets the high-voltage power-on condition based on the first status information, a closing signal is sent to the BMS. This can ensure that when it is determined that the vehicle meets the high-voltage power-on condition based on the first status information, the relay is controlled to close and the vehicle enters the high-voltage power-on state, thereby reducing the probability of the relay being mistakenly closed.

[0092] Optionally, controlling the battery pack to close a relay includes:

[0093] Determine the reset reason of the vehicle controller;

[0094] If the reset reason is the target reset reason, the control relay is closed; if the reset reason is not the target reset reason, the control relay state remains unchanged; wherein, the target reset reason is a reset reason that will not cause continuous resetting of the vehicle controller.

[0095] The target reset reason refers to a reset reason among all reset reasons, in which, after causing the abnormal reset of the vehicle controller, the vehicle can immediately enter the high-voltage power-on state and will not cause the abnormal reset of the vehicle controller again in a short time.

[0096] For example, the reset reasons that may cause abnormal reset of the vehicle controller can be determined in advance through experiments. Such reset reasons are target reset reasons, and the target reset reasons may be one or more. The target reset reasons include, but are not limited to, damage to electronic components on the main control board of the vehicle controller, excessive temperature of the main control board, abnormal fluctuation of the voltage output by the power module, and software running errors.

[0097] A diagnostic program is installed in the vehicle controller. After an abnormal reset occurs, the vehicle controller can run a diagnostic program. The diagnostic program can obtain the log data of the vehicle controller and determine the reset cause of the abnormal reset through log data analysis. For example, the voltage output by the power module and the temperature of the main control board can be recorded in the log data. After the abnormal reset, if the diagnostic program determines that the voltage output by the power module recorded in the log data exceeds the preset voltage upper limit or is lower than the preset voltage lower limit, it is determined that the reset cause includes abnormal fluctuations in the voltage output by the power module. And, if the diagnostic program determines that the temperature of the main control board recorded in the log data exceeds the preset temperature value, it is determined that the reset cause includes the motherboard temperature is too high. For another example, after the abnormal reset, the diagnostic program can perform a self-test on the hardware circuit of the vehicle controller. If a certain electronic component on the main control board is detected to be faulty, it is determined that the reset cause includes damage to the electronic component. The above is only an illustrative example, and the method for the vehicle controller to determine the reset cause may include but is not limited to the above example.

[0098] Among them, the reset reason that causes the abnormal reset of the vehicle controller may be one or more. After determining one or more reset reasons for the abnormal reset of the vehicle controller, it can be determined whether each reset reason is the target reset reason. After determining that each reset reason is the target reset reason, the relay can be controlled to close. On the contrary, if part of at least one reset reason is not the target reset reason or all are not the target reset reason, the state of the control relay remains unchanged. In this way, after the abnormal reset of the vehicle controller, the relay is controlled to close only when the reset reason is the target reset reason to make the vehicle enter the high-voltage power-on state. When the reset reason is other reset reasons except the target reset reason, the relay is not controlled to close, and the vehicle does not enter the high-voltage power-on state, which can reduce the probability of the vehicle controller being reset again.

[0099] In an embodiment of the present application, after the vehicle controller is abnormally reset, when it is determined that the vehicle meets the high-voltage power-on state and the reset reason is the target reset reason, the control relay is closed to make the vehicle enter the high-voltage power-on state, which can reduce the probability of the vehicle controller being abnormally reset again.

[0100] Optionally, after the control relay is closed, the method may further include:

[0101] Acquire the second state information of the vehicle corresponding to the pre-stored target reset reason;

[0102] The state of the vehicle is adjusted according to the second state information.

[0103] In one embodiment, for a certain target reset reason, a corresponding second state information can be set and stored. The second state information is the state information of the vehicle in a high-voltage power-on state. The second state information may include vehicle speed, torque, and vehicle mode, etc., but is not limited thereto. For example, for a certain target reset reason, when the vehicle controller is abnormally reset due to the target reset reason, the state of the vehicle can be restored to the state before the reset. The vehicle controller can record the state information of the vehicle in real time during the operation of the vehicle. After the reset occurs, if the reset reason is determined to be the target reset reason, the pre-recorded state information (i.e., the second state information) is obtained, and the vehicle state is adjusted according to the second state information so that the state of the vehicle is restored to the state before the abnormal reset.

[0104] For another example, for a certain target reset reason, when the vehicle controller is reset due to the target reset reason, the state of the vehicle can be restored to a certain preset state, and the vehicle controller can pre-store the state information of the vehicle in the preset state (i.e., the second state information). After an abnormal reset occurs, if the reset reason is determined to be the target reset reason, the state information of the pre-recorded preset state (i.e., the second state information) is obtained, and the vehicle state is adjusted according to the second state information so that the state of the vehicle reaches the preset state.

[0105] In other embodiments, for a certain group of target reset reasons, the group of target reset reasons includes multiple target reset reasons, and corresponding second state information can be set and stored. After an abnormal reset occurs, if it is determined that the reset cause is one or more of the group of target reset reasons, the pre-stored second state information corresponding to the group of target reset reasons can be obtained, and the vehicle state is adjusted according to the second state information.

[0106] It should be understood that the same or different second state information may be set for different target reset reasons, and the method for obtaining the second state information may include but is not limited to the above examples.

[0107] In an embodiment of the present application, after the vehicle controller is abnormally reset, the state of the vehicle is adjusted according to the state parameters corresponding to the reset cause, so that the state of the vehicle after the abnormal reset can be accurately controlled, thereby reducing other problems that may be caused by the closure of the relay.

[0108] See also Figure 4 , Figure 4 Schematic diagram of the structure of a battery pack control device provided in an embodiment of the present application. Figure 4 As shown, the battery pack control device 400 is arranged in a vehicle controller in a vehicle and may include:

[0109] An acquisition module 401 is used to acquire the current first state information of the vehicle when detecting that the vehicle controller is abnormally reset;

[0110] The acquisition module 401 is further configured to control the relay of the battery pack to close if it is determined according to the first state information that the vehicle meets the high-voltage power-on condition;

[0111] The control module 402 is configured to control the state of the relay to remain unchanged if it is determined according to the first state information that the vehicle does not meet the high-voltage power-on condition.

[0112] Optionally, the device 400 also includes a generation module and a pause module, the generation module is used to generate a closing message before obtaining the current first state information of the vehicle; wherein the closing message is used to instruct the battery management system of the battery pack to control the relay to close; the pause module is used to pause the sending of the closing message, so as to send the closing message to the battery management system when it is determined that the vehicle meets the high-voltage power-on conditions or to destroy the closing message when it is determined that the vehicle does not meet the high-voltage power-on conditions.

[0113] Optionally, the device 400 also includes: a starting module, used to start the ordinary message receiving function of the vehicle controller at a first time point after the vehicle controller is reset, so as to receive the first status information sent by other components in the vehicle through the ordinary message receiving function; start the ordinary message sending function of the vehicle controller at a second time point after the first time point, so as to suspend the sending of the closed message between the first time point and the second time point; wherein the interval between the second time point and the first time point is greater than the time required for the vehicle controller to obtain the first status information.

[0114] Optionally, the pause module is specifically used to control the normal message sending function of the vehicle controller to be in an invalid state; or, to control the closed message to be invalid for a preset time period, so as to restart the sending of the closed message after an interval of the preset time period; wherein, the preset time period is greater than the time required for the vehicle controller to obtain the first status information.

[0115] Optionally, the device 400 also includes a sending module, which is used to send a retention message to the battery management system in the vehicle before obtaining the current first status information of the vehicle; wherein, the retention message is used to instruct the battery management system to control the state of the relay to remain unchanged within a preset time period, and the preset time period is greater than the time required for the vehicle controller to obtain the first status information.

[0116] Optionally, the control module 402 is specifically used to determine the reset reason of the vehicle controller; if the reset reason is a target reset reason, the relay is controlled to close; wherein, the target reset reason is a reset reason that will not cause the vehicle controller to be reset continuously.

[0117] Optionally, the device 400 further includes an adjustment module, configured to obtain pre-stored second state information of the vehicle corresponding to the target reset reason; and adjust the state of the vehicle according to the second state information.

[0118] See also Figure 5 , Figure 5It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0119] For example, Figure 5 As shown, the vehicle 500 includes: a memory 501 and a processor 502, wherein the memory 501 stores an executable program code 5011, and the processor 502 is used to call and execute the executable program code 5011 to perform a battery pack control method.

[0120] In addition, an embodiment of the present application also protects a battery pack control device, which may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to execute a battery pack control method provided by an embodiment of the present application.

[0121] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0122] In the case of dividing each functional module according to each function, the device may further include an acquisition module and an adjustment module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0123] It should be understood that the device provided in this embodiment is used to execute the above-mentioned battery pack control method, and thus can achieve the same effect as the above-mentioned implementation method.

[0124] In the case of an integrated unit, the device may include a determination module and an adjustment module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing relevant program codes, etc.

[0125] The processing module may be a processor or a vehicle body setting module, which may implement or execute various exemplary logic blocks, modules and circuits shown in combination with the contents disclosed in this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0126] In addition, the device provided in the embodiments of the present application may specifically be a chip, component or module, and the chip may include a connected processor and memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a battery pack control method provided in the above embodiments.

[0127] This embodiment also provides a readable storage medium, in which a computer program code is stored. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a battery pack control method provided in the above embodiment.

[0128] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a battery pack control method provided in the above embodiment.

[0129] Among them, the device, readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0130] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0131] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0132] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A battery pack control method, characterized in that: The method is applied to a vehicle controller in a vehicle, wherein the vehicle also includes a battery pack, and the method includes: When an abnormal reset of the vehicle controller is detected, obtaining current first state information of the vehicle; If it is determined according to the first state information that the vehicle meets the high-voltage power-on condition, controlling the relay of the battery pack to close; If it is determined according to the first status information that the vehicle does not meet the high-voltage power-on condition, the state of the relay is controlled to remain unchanged.

2. The method according to claim 1, characterized in that Before obtaining the current first state information of the vehicle, the method further includes: Generate a closing message; wherein the closing message is used to instruct the battery management system of the battery pack to control the relay to close; The sending of the closing message is suspended, so as to send the closing message to the battery management system when it is determined that the vehicle meets the high-voltage power-on condition, or to destroy the closing message when it is determined that the vehicle does not meet the high-voltage power-on condition.

3. The method according to claim 2, characterized in that The method further comprises: At a first time point after the vehicle controller is reset, starting a common message receiving function of the vehicle controller to receive the first status information sent by other components in the vehicle through the common message receiving function; At a second time point after the first time point, the normal message sending function of the vehicle controller is started to suspend the sending of the closed message between the first time point and the second time point; wherein the interval between the second time point and the first time point is greater than the time required for the vehicle controller to obtain the first status information.

4. The method according to claim 2, characterized in that The suspending the sending of the closing message includes: Controlling the ordinary message sending function of the vehicle controller to be in an invalid state; Alternatively, the closed message is controlled to be invalid for a preset time period so as to restart sending the closed message after an interval of the preset time period; wherein the preset time period is greater than the time period required for the vehicle controller to obtain the first status information.

5. The method according to claim 1, characterized in that Before obtaining the current first state information of the vehicle, the method further includes: Sending a hold message to a battery management system in the vehicle; Among them, the maintenance message is used to instruct the battery management system to control the state of the relay to remain unchanged within a preset time period, and the preset time period is greater than the time required for the vehicle controller to obtain the first state information.

6. The method according to any one of claims 1 to 5, characterized in that The controlling the battery pack to close the relay includes: Determining a reset reason for the vehicle controller to be reset; If the reset reason is a target reset reason, the relay is controlled to close; wherein the target reset reason is a reset reason that will not cause the vehicle controller to be reset continuously.

7. The method according to claim 6, characterized in that After controlling the relay to close, the method further includes: Acquire the second state information of the vehicle corresponding to the pre-stored target reset reason; The state of the vehicle is adjusted according to the second state information.

8. A battery pack control device, characterized in that: A vehicle controller provided in a vehicle, wherein the vehicle further includes a battery pack, and the device includes: An acquisition module, used for acquiring the current first state information of the vehicle when an abnormal reset of the vehicle controller is detected; The acquisition module is further configured to control the relay of the battery pack to close if it is determined that the vehicle meets the high-voltage power-on condition according to the first state information; A control module is used to control the state of the relay to remain unchanged if it is determined according to the first state information that the vehicle does not meet the high-voltage power-on condition.

9. A readable storage medium, characterized in that: The readable storage medium stores executable program codes, and when the executable program codes are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 7.

10. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Reset recovery method and device and vehicle controller

    CN116674579A

  • Recovery method and system for abnormal reset of area controller and vehicle

    CN117435393A

  • Vehicle power recovery control method and system, terminal equipment and storage medium

    CN117841683A

  • Vehicle control method and device, electronic equipment and vehicle

    CN118618407A

  • Method and apparatus for monitoring abnormal wake-up of vehicle, and server and storage medium

    WO2024109320A1

Cited By

  • METHOD FOR CORRECTING A FAULT IN AN ACTIVE POWERTRAIN ASSEMBLY

    FR3173876A1