A battery pack control method, device and vehicle
By obtaining status information after an abnormal reset of the vehicle controller to determine the high-voltage power-on conditions, the system controls the closing or maintaining state of the battery pack relays, thus solving the problem of relays malfunctioning after an abnormal reset of the vehicle controller and improving vehicle safety and reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREAT WALL MOTOR CO LTD
- Filing Date
- 2024-09-29
- Publication Date
- 2026-04-10
AI Technical Summary
After the vehicle controller is abnormally reset, the battery pack relay may close accidentally, leading to safety issues such as battery pack overheating, short circuits, and fires. Users are also at risk of high-voltage electric shock, which is difficult to effectively solve with existing technology.
After the vehicle controller is abnormally reset, the current status information of the vehicle is obtained to determine whether the high voltage power-on conditions are met. If they are met, the relay is controlled to close; otherwise, the status remains unchanged. The probability of false closure is reduced by pausing or canceling the transmission of the closure message.
It reduces problems such as battery pack overheating, short circuits, and fires caused by relay malfunctions, lowers the risk of high-voltage electric shock to users, and improves vehicle safety and component integrity.
Smart Images

Figure CN119078531B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicles, and more particularly, to a battery pack control method, device and vehicle in the technical field of vehicles. BACKGROUND
[0002] At present, in order to prevent safety accidents after the abnormal reset of the vehicle controller, the state information of the vehicle will be 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 state of the vehicle will be restored according to the recorded state information, so as to avoid the occurrence of a large state change of the vehicle when the vehicle controller is abnormally reset, making it difficult for the user to quickly reflect, thereby causing a safety accident. Although this method can quickly restore the state of the vehicle 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 relatively low. SUMMARY
[0003] The present application provides a battery pack control method, device and vehicle, which can eliminate the safety hazards 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, which is applied to a vehicle controller in a vehicle, and the vehicle further comprises a battery pack, and the method comprises:
[0005] In the case where it is monitored that the vehicle controller is abnormally reset, first state information of the vehicle is acquired;
[0006] If it is determined according to the first state information that the vehicle meets the high-voltage power-on condition, the relay of the battery pack is controlled to be closed;
[0007] If it is determined according to the first state information that the vehicle does not meet the high-voltage power-on condition, the state of the relay is controlled to be unchanged.
[0008] In the present application, in the case where it is monitored that the vehicle controller is abnormally reset, first state information of the vehicle is acquired, if it is determined according to the first state information that the vehicle meets the high-voltage power-on condition, the relay of the battery pack is controlled to be closed, and if it is determined according to the first state information that the vehicle does not meet the high-voltage power-on condition, the state of the relay is controlled to be unchanged. In this way, after the abnormal reset of the vehicle controller, the probability of the mis-closing of the relay when the vehicle does not meet the high-voltage power-on condition can be reduced, thereby the problems of the overheat, short circuit and fire of the battery pack caused by the mis-closing of the relay can be reduced, and the risk of high-voltage electric shock of the user can be reduced, and thus the safety of the vehicle can be improved.
[0009] With reference to the first aspect, in some possible implementation manners, before the obtaining the first state information of the vehicle currently, the method further includes: generating a closing message; wherein the closing message is used to instruct a battery management system of the battery pack to control the relay to close; and suspending 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 condition or discard the closing message when it is determined that the vehicle does not meet the high-voltage power-on condition.
[0010] In the embodiments of the present application, after the abnormal reset of the vehicle controller, the sending of the closing message is suspended, the closing message is sent to control the relay to close when the vehicle meets the high-voltage power-on condition, and the closing message is discarded when the vehicle does not meet the high-voltage power-on condition, so that the probability of the relay being closed by mistake can be reduced without changing the existing control logic of the vehicle controller.
[0011] With reference to the first aspect, in some possible implementation manners, the method further includes: starting a normal message receiving function of the vehicle controller at a first time point after the reset of the vehicle controller, so as to receive the first state information sent by other components in the vehicle through the normal message receiving function; starting a normal 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 closing message between the first time point and the second time point; and the interval between the second time point and the first time point is greater than the time length required by the vehicle controller for obtaining the first state information.
[0012] In the embodiments of the present application, the normal message receiving function is started at the first time point to obtain the state information of the vehicle, and whether the vehicle meets the high-voltage power-on condition is determined according to the obtained state information, and the normal message sending function is started at the second time point, so that the sending of the closing message can be suspended before the second time point, thereby suspending the sending of the closing message without changing the original control logic of the vehicle controller and reducing the modification of the vehicle controller.
[0013] With reference to the first aspect, in some possible implementation manners, the suspending the sending of the closing message includes: controlling a normal message sending function of the vehicle controller to be in an invalid state; or controlling the closing message to be invalid for a preset time length, so as to restart the sending of the closing message after the preset time length is elapsed; and the preset time length is greater than the time length required by the vehicle controller for obtaining the first state information.
[0014] With reference to the first aspect, in some possible implementation manners, before the first state information of the vehicle is acquired, the method further includes: sending a keep message to a battery management system in the vehicle; and the keep message is used to instruct the battery management system to control a state of the relay to be unchanged within a preset time length, and the preset time length is greater than a time length required by the vehicle controller to acquire the first state information.
[0015] In the embodiments of the present application, the state of the relay is controlled to remain unchanged for a preset time length by the keep message before the first state information is acquired. In the case where the vehicle is determined to meet the high-voltage power-on condition according to the first state information, a closing signal is sent to the BMS, which can ensure that the relay is controlled to close to make the vehicle enter the high-voltage power-on state in the case where the vehicle is determined to meet the high-voltage power-on condition according to the first state information, thereby reducing the probability of false closing of the relay.
[0016] With reference to the first aspect, in some possible implementation manners, the controlling the relay of the battery pack to close includes: determining a reset reason for the vehicle controller to reset; and controlling the relay to close if the reset reason is a target reset reason; and the target reset reason is a reset reason that does not cause the vehicle controller to reset continuously.
[0017] In the embodiments of the present application, after the vehicle controller abnormally resets, the relay is controlled to close to make the vehicle enter the high-voltage power-on state when the vehicle is determined to meet the high-voltage power-on state and the reset reason is the target reset reason, which can reduce the probability of abnormal reset of the vehicle controller again.
[0018] With reference to the first aspect, in some possible implementation manners, after the relay is controlled to close, the method further includes: acquiring second state information of the vehicle corresponding to the target reset reason that is pre-stored; and adjusting a state of the vehicle according to the second state information.
[0019] In the embodiments of the present application, after the vehicle controller abnormally resets, the state of the vehicle is adjusted according to the state parameter corresponding to the reset reason, which can accurately control the state of the vehicle after abnormal reset, thereby reducing other problems that can be caused after the relay is closed.
[0020] Secondly, a battery pack control device is provided, which is arranged in a vehicle controller in a vehicle, and the vehicle further includes a battery pack. The device includes:
[0021] The acquisition module is configured to acquire first state information of the vehicle in the case where the vehicle controller is monitored to abnormally reset.
[0022] The acquisition module is further configured to control a relay of the battery pack to be closed if it is determined according to the first state information that the vehicle satisfies a high-voltage power-on condition.
[0023] The control module is configured to control the state of the relay to be unchanged if it is determined according to the first state information that the vehicle does not satisfy the high-voltage power-on condition.
[0024] In a third aspect, a vehicle is provided, and the vehicle comprises:
[0025] a memory configured to store executable program code;
[0026] a processor configured to invoke and run the executable program code from the memory, so that the vehicle executes the method in any possible implementation manner of the first aspect.
[0027] In a fourth aspect, a computer program product is provided, and the computer program product comprises computer program code, which, when executed on a computer, causes the computer to execute the method in any possible implementation manner of the first aspect.
[0028] In a fifth aspect, a readable storage medium is provided, and the readable storage medium stores computer program code, which, when executed on a computer, causes the computer to execute the method in any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF DRAWINGS
[0029] Figure 1 is a step flowchart of a battery pack control method provided by an embodiment of the present application;
[0030] Figure 2 is a starting flowchart of a message function after a vehicle controller is reset in the related art;
[0031] Figure 3 is a starting flowchart of a message function after a vehicle controller is reset provided by an embodiment of the present application;
[0032] Figure 4 is a structural schematic diagram of a battery pack control device provided by an embodiment of the present application;
[0033] Figure 5 is a structural schematic diagram of a vehicle provided by an embodiment of the present application. DETAILED DESCRIPTION
[0034] The technical solutions in the present application will be described clearly and exhaustively in combination with the drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B: "and / or" in the text is only a description of the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which means that there are three cases of A alone, A and B together, and B alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0035] Hereinafter, the terms "first" and "second" are used only for descriptive purposes and cannot be understood as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" can explicitly or implicitly include one or more features.
[0036] With the increase of vehicle functions, the hardware circuit and software control logic of the vehicle are becoming more and more complex, which leads to a higher probability of abnormal reset of the vehicle control unit (VCU). When the vehicle control unit abnormally resets, the relay of the battery pack will automatically open, resulting in loss of vehicle power, which may cause a large change in the state of the vehicle. At this time, if the user does not respond in time, it may cause the vehicle to lose control and cause a safety accident.
[0037] In order to prevent safety accidents after the vehicle control unit abnormally resets, the vehicle control unit will record the state information of the vehicle in real time during the driving of the vehicle. After abnormal reset, the vehicle control unit can restore the state of the vehicle according to the recorded state information, so as to avoid a large change in the state of the vehicle when the vehicle control unit abnormally resets, making it difficult for the user to quickly respond and thus causing a safety accident.
[0038] In practical applications, when the vehicle control unit abnormally resets and the vehicle loses power, the user may respond in time and control the vehicle to stop in time, so that each part in the vehicle will enter a low-voltage state. At this time, if the state of the vehicle is restored according to the recorded state information, it may cause the relay of the battery pack to be mistakenly closed, which may cause the battery pack to overheat, short circuit, or even cause a fire and other safety problems. At the same time, if the user repairs the vehicle in time after the vehicle control unit abnormally resets, the mistaken closing of the relay may also cause the user to mistakenly touch the high-voltage electricity in the vehicle, which is dangerous to the personal safety of the user. At the same time, when the relay is mistakenly closed, the high-voltage electricity output by the battery pack may also damage or even damage the parts in the vehicle, threatening the safety of the vehicle.
[0039] To solve the above technical problems, the embodiment of the present application provides a battery pack control method. In the method, after the abnormal reset of the vehicle controller, the vehicle controller first determines whether the vehicle satisfies the high-voltage power-on condition according to the current state information of the vehicle. If the high-voltage power-on condition is satisfied, the relay is controlled to be closed. If the high-voltage power-on condition is not satisfied, the state of the relay is not changed. In this way, after the abnormal reset of the vehicle controller, the probability of the mis-closing of the relay can be reduced, thereby reducing the problems of the battery pack overheating, short circuit and fire caused by the mis-closing of the relay, and reducing the risk of high-voltage electric shock of the user, thereby improving the safety of the vehicle. In addition, the probability of damage or damage of each component in the vehicle can be reduced.
[0040] The vehicle controller can be integrated in a power domain controller of the vehicle, or can be set as an independent controller in the vehicle.
[0041] Referring to Figure 1 , Figure 1 is a step flow chart of a battery pack control method provided by the embodiment of the present application. The method can be executed by a vehicle controller in a vehicle. As shown in Figure 1 , the method can include the following steps:
[0042] Step 101: In the case of monitoring the abnormal reset of the vehicle controller, the first state information of the vehicle is acquired.
[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 satisfies the high-voltage power-on condition.
[0044] In the embodiment, the vehicle controller can monitor itself during operation to monitor whether the vehicle controller itself has an abnormal reset. For example, a state register can be set in the vehicle controller, and when the vehicle controller is abnormally reset, the data in the state register is set to a preset value. The vehicle controller can monitor the state register in real time during operation, and if it is monitored that the data in the state register is set to the preset value, it is determined that the vehicle controller has an abnormal reset. For another example, the vehicle controller will jump to a specific address of an interrupt vector table to execute reset processing code after reset. If the vehicle controller suddenly jumps to the specific address of the interrupt vector table without running as planned, it is determined that the vehicle controller has an abnormal reset. The above is only an example, and the method of monitoring whether the vehicle controller has an abnormal reset can include but is not limited to the above examples.
[0045] Exemplarily, the vehicle controller is connected with the control units or control modules in the vehicle through a Controller Area Network (CAN), and after the abnormal reset, the vehicle controller can first start the network management (Network Management, NM) message sending function and the normal message receiving function of the vehicle controller, and the normal message receiving function is used to receive other messages in the CAN network except the NM message. The first state information can include the torque of the motor in the vehicle, and after starting the NM message sending function and the normal message receiving function, the vehicle controller can send the NM message to the motor control unit (MCU) in the vehicle through the NM message sending function, so as to trigger the MCU to send a message including the current torque value of the motor to the vehicle controller, and the normal message receiving function is used to receive the message, and the current torque value of the motor is obtained by analyzing the message.
[0046] Similarly, the first state information can also include the vehicle speed. After the abnormal reset, the vehicle controller starts the NM message sending function and the normal 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 vehicle speed to the vehicle controller, and the normal message receiving function is used to receive the message, and the current vehicle speed is obtained by analyzing the message.
[0047] Similarly, the first state information can also include the gear of the vehicle. After the abnormal reset, the vehicle controller starts the NM message sending function and the normal message receiving function, and then sends the NM message to the shift control unit (SCU) to trigger the SCU to send a message including the current gear information of the vehicle to the vehicle controller, and the normal message receiving function is used to receive the message, and the current gear information of the vehicle is obtained by analyzing the message.
[0048] Among them, the first state information can also include the mode information of the direct current-direct current (DCDC) converter of the battery pack, the state information of the ready signal lamp in the vehicle, and the signal information of the KL15 signal in the vehicle, and other state information that can determine whether the vehicle meets the high-voltage power-on condition. The first state information can include but is not limited to the above examples.
[0049] Step 1021, if it is determined according to the first state information that the vehicle meets the high-voltage power-on condition, the relay of the battery pack is closed.
[0050] In step 1022, if it is determined according to the first state information that the vehicle does not satisfy the high-voltage power-on condition, the state of the relay is not changed.
[0051] The vehicle satisfying the high-voltage power-on condition means that the vehicle can enter the high-voltage power-on state, and after the vehicle enters the high-voltage power-on state, all components in the vehicle are in a high-voltage state and can be directly powered by the battery pack.
[0052] For example, after the vehicle controller obtains the current torque value of the motor, if the torque value is greater than a preset torque value, it is determined that the vehicle satisfies the high-voltage power-on condition; and if the torque value is less than or equal to the preset torque value, it is determined that the vehicle does not satisfy the high-voltage power-on condition. Alternatively, after the vehicle controller obtains the current vehicle speed, if the vehicle speed is greater than a preset vehicle speed, it is determined that the vehicle satisfies the high-voltage power-on condition; and if the vehicle speed is less than or equal to the preset vehicle speed, it is determined that the vehicle does not satisfy the high-voltage power-on condition. Alternatively, after the vehicle controller obtains the gear information, if it is determined according to the gear information that the current gear of the vehicle is the drive gear, it is determined that the vehicle satisfies the high-voltage power-on condition; and if it is determined according to the gear information that the current gear of the vehicle is not the drive gear, it is determined that the vehicle does not satisfy the high-voltage power-on condition. Alternatively, when the first state information includes the current vehicle speed and torque value, if the torque value is greater than a preset torque value and the vehicle speed is greater than a preset vehicle speed, it is determined that the vehicle satisfies the high-voltage power-on condition; and if 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 vehicle speed, it is determined that the vehicle does not satisfy the high-voltage power-on condition.
[0053] It should be understood that the method of determining whether the vehicle satisfies the high-voltage power-on condition according to the first state information can 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 satisfies 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 control the relay of the battery pack to close in response to the closing instruction, so that the vehicle enters the high-voltage power-on state. Conversely, when it is determined according to the first state information that the vehicle does not satisfy 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 is not changed.
[0055] Optionally, after the control relay is closed, the vehicle controller can obtain pre-stored state information of the vehicle (which can be referred to as second state information), and adjust the state of the vehicle according to the state information. For example, the state information can include the historical vehicle speed of the vehicle recorded before the abnormal reset of the vehicle controller, and after the control relay is closed, the vehicle speed of the vehicle can be adjusted to the historical vehicle speed. For another example, the state information can include the target vehicle speed set in advance for the abnormal reset of the vehicle controller, and after the control relay is closed, the vehicle speed of the vehicle can be adjusted to the target vehicle speed. The above is only an exemplary example, and the state information can include vehicle speed, motor torque, motor power, etc., but is not limited thereto.
[0056] In the embodiments of the present application, in the case of monitoring the abnormal reset of the vehicle controller, the first state information of the vehicle is obtained, and if it is determined according to the first state information that the vehicle satisfies the high-voltage power-on condition, the relay of the battery pack is controlled to be closed, and if it is determined according to the first state information that the vehicle does not satisfy the high-voltage power-on condition, the state of the relay is 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 satisfy the high-voltage power-on condition can be reduced, thereby reducing the problems of battery pack overheating, short circuit and fire caused by the relay being mistakenly closed, and at the same time, the risk of the user being electrified by high voltage can be reduced, thereby improving the safety of the vehicle. In addition, the probability of damage or damage of each component in the vehicle can be reduced.
[0057] Optionally, before obtaining the first state information of the vehicle, the method can further include:
[0058] 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 be closed;
[0059] pausing 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 satisfies the high-voltage power-on condition, or to destroy the closing message when it is determined that the vehicle does not satisfy the high-voltage power-on condition.
[0060] In the embodiments, after the abnormal reset of the vehicle controller, the vehicle controller can first generate a closing message including a closing instruction, after generating the closing message, save the closing message, and do not start the sending process of the closing message. Then, the first state information of the vehicle can be obtained, and it is determined according to the first state information whether the vehicle satisfies the high-voltage power-on condition. When it is determined according to the first state information that the vehicle satisfies the high-voltage power-on condition, 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 analyzes the closing message, obtains the closing instruction from the closing message, responds to the closing instruction, controls the relay of the battery pack to be closed, so that the vehicle enters the high-voltage power-on state.
[0061] 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 can destroy the pre-generated closing message, does not send the closing message to the BMS, keeps the state of the relay unchanged, and maintains the relay in the open state.
[0062] In the related art, when the vehicle state is recovered according to the vehicle state information before the abnormal reset of the vehicle controller, the vehicle controller directly generates a closing message after the abnormal reset, and sends the closing message to the BMS to close the relay. In this way, the closing message will be sent to the BMS when the vehicle does not meet the high-voltage power-on condition, thereby causing the relay to be mistakenly closed.
[0063] In the embodiments of the present application, after the abnormal reset of the vehicle controller, the sending of the closing message is suspended, the closing message is sent to control the relay to be closed when the vehicle meets the high-voltage power-on condition, and the closing message is revoked when the vehicle does not meet the high-voltage power-on condition. In this way, without changing the existing control logic of the vehicle controller, the probability of the relay being mistakenly closed can be reduced.
[0064] Optionally, the method can further include:
[0065] At a first time point after the reset of the vehicle controller, starting a normal message receiving function of the vehicle controller to receive first state information sent by other components in the vehicle through the normal message receiving function;
[0066] Starting a normal message sending function of the vehicle controller at a second time point after the first time point to suspend the sending of the closing 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 longer than the time required by the vehicle controller to obtain the first state information.
[0067] The normal message sending function is used to send other messages in the CAN network except the NM message.
[0068] For example, after the abnormal reset of the vehicle controller, the normal message receiving function can be started at the first time point, and the normal message sending function can be started at the second time point after the first time point. In this way, after the starting of the message receiving function, the first state information can be obtained through the normal message receiving function, and whether the vehicle meets the high-voltage power-on condition can be determined 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 control unit to obtain the first state information. Thus, before the second time point, the pre-generated closing message cannot be sent because the normal message sending function is not started, and the sending of the closing message can be suspended. After the second time point, it has been determined that the vehicle satisfies the high-voltage power-on condition or does not satisfy the high-voltage power-on condition according to the first state information, and the normal message sending function has been started. The closing message can be sent to the BMS when the vehicle satisfies the high-voltage power-on condition, and the closing message can be cancelled when the vehicle does not satisfy the high-voltage power-on condition.
[0070] Referring to Figure 2 , Figure 2 is a flowchart of a starting process of a message function of a vehicle control unit after reset in the related art. As shown in Figure 2 , in the related art, the vehicle control unit is abnormally reset at time point 21. After abnormal reset, the vehicle control unit first starts the NM message sending function at time point 22, then sends the NM message at time point 23 to trigger other components to send the first state information to the vehicle control unit, and simultaneously starts the normal message sending function and the normal message receiving function at time point 24 to receive the first state information through the normal message receiving function and send the closing message through the normal message sending function.
[0071] Specifically, when starting the NM message sending function, the immediate / deferred attribute of the mode manager (BSWMode Manager) in the vehicle control unit can be configured by calling the mode request port of the mode manager to start the NM message sending function. Similarly, when starting the normal message sending function and the normal message receiving function, the relevant attributes of the mode manager can be configured by calling the mode request port to start the normal message sending function and the normal message receiving function.
[0072] In the related art, because the normal message sending function and the normal message receiving function are started at the same time point, the vehicle control unit can only obtain the first state information after starting the normal message receiving function. At this time, the closing message may have been generated and sent to the BMS, resulting in that the BMS controls the relay to close according to the closing message, and further resulting in that the relay is mis-closed.
[0073] Referring to Figure 3 , Figure 3is a message function starting flow diagram provided by an embodiment of the application after the vehicle controller is reset. In the embodiment of the application, after the vehicle controller is abnormally reset at time point 31, the vehicle controller first starts the NM message sending function at time point 32, then sends the NM message at time point 33, starts the normal message receiving function at time point 34, and starts the normal message sending function at time point 35. Time point 34 is the first time point, time point 35 is the second time point, and a certain time interval can be set between time point 34 and time point 35. The time interval can be a preset time interval, 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, the normal message sending function is not started, so the closing message cannot be sent, that is, the sending of 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 according to the first state information. After determining that the vehicle meets the high-voltage power-on condition, the normal message sending function is started at time point 35, the closing message is sent to the BMS, and the BMS controls the relay to close. After determining that the vehicle does not meet the high-voltage power-on condition, the closing message is canceled, and the normal message sending function is started at time point 35, and other messages can be sent externally.
[0075] In the embodiment of the application, the normal message receiving function is started at the first time point to obtain the state information of the vehicle, and whether the vehicle meets the high-voltage power-on condition is determined according to the obtained state information. The normal message sending function is started at the second time point, and the sending of the closing message can be suspended before the second time point. In this way, the sending of the closing message can be suspended without changing the original control logic of the vehicle controller, and the modification of the vehicle controller is reduced.
[0076] Optionally, suspending the sending of the closing message comprises:
[0077] controlling the normal message sending function of the vehicle controller to be in an invalid state;
[0078] Alternatively, the closing message is controlled to be invalid for a preset time interval, so that the sending of the closing message is restarted after the preset time interval; and the preset time interval is greater than the time required for the vehicle controller to obtain the first state information.
[0079] In an embodiment, after the abnormal reset and the generation of the closing message, the vehicle controller can first determine whether the normal message sending function is started, and if the normal message sending function has been started, the normal message sending function is closed, so that the normal message sending function is 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 normal message sending function can be started again to resend the closing message. In addition, 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 normal message sending function can also be started again, at which time the closing message can be revoked, and other messages can be sent through the normal message sending function.
[0080] In another embodiment, a state flag bit can be set for the closing message in advance. After the abnormal reset, the vehicle controller first sets the state flag bit of the closing message to 0, which indicates that the closing message is in an invalid state. After setting the state flag bit to 0, the timing can be started. If the timing duration reaches the preset duration, the state flag bit of the closing message can be set to 1, which indicates that the closing message is in a valid state. The vehicle controller generates the closing message after setting the state flag bit of the closing message. During the sending of the closing message, the vehicle controller first judges the state flag bit. If the state flag bit is 0, the closing message is not sent to the BMS. If the state flag bit is 1, the closing message is sent to the BMS.
[0081] The preset duration is greater than the duration required by the vehicle controller to obtain the first state information. During the invalid state of the closing message, the vehicle controller can obtain the first state information and determine whether the vehicle meets the high-voltage power-on condition according to the first state information. After the closing message switches to the valid state, the vehicle controller can send the closing signal to the BMS if the vehicle meets the high-voltage power-on condition, and revoke the closing signal if the vehicle does not meet the high-voltage power-on condition, without sending the closing signal to the BMS.
[0082] The above is only an example. The specific method of suspending the sending of the closing message can include, but is not limited to, the above examples.
[0083] Optionally, before obtaining the first state information of the vehicle, the method further comprises:
[0084] sending a holding message to a battery management system in the vehicle;
[0085] The holding message is used to indicate that the state of the relay controlled by the battery management system does not change within a preset duration, and the preset duration is greater than the duration required by the vehicle controller to obtain the first state information.
[0086] In an embodiment, after the abnormal reset, the vehicle controller first sends a keep message to the BMS. After receiving the keep message, the BMS starts timing. Before the timing duration reaches the preset duration, the BMS does not control the relay regardless of whether the closing message sent by the vehicle controller is received, so as to keep the state of the relay unchanged within the preset duration.
[0087] After sending the keep message, the vehicle controller can obtain first state information, determine whether the vehicle satisfies the high-voltage power-on condition according to the first state information, send a closing message to the BMS if the high-voltage power-on condition is satisfied, and not send the closing message to the BMS if the high-voltage power-on condition is not satisfied. Correspondingly, after the timing duration reaches the preset duration, the BMS controls the relay to close in response to the closing message if the closing message sent by the vehicle controller is received, and does not control the relay to act if the closing message sent by the BMS is not received.
[0088] In the timing process, the BMS can discard the closing message and not respond to the closing message if the closing message sent by the vehicle controller is received before the timing duration reaches the preset duration. After the timing duration reaches the preset duration, the BMS can respond to the closing message and control the relay to close if the closing message sent by the vehicle controller is received.
[0089] Optionally, after sending the keep message to the BMS, the vehicle controller can also start timing, obtain first state information, and determine whether the vehicle satisfies the high-voltage power-on condition according to the first state information. After determining that the vehicle satisfies the high-voltage power-on condition, the vehicle controller can send the closing message to the BMS after the timing duration reaches the preset duration. After determining that the vehicle does not satisfy the high-voltage power-on condition, the vehicle controller does not send the closing message to the BMS after the timing duration reaches the preset duration.
[0090] Optionally, the vehicle controller can start a normal message receiving function before sending the keep message to the BMS, obtain first state information, and start a normal message sending function after sending the keep message to the BMS, so as to send the closing message to the BMS through the normal message sending function after determining that the vehicle satisfies the high-voltage power-on condition according to the first state information.
[0091] In the embodiment, the state of the relay is kept for a preset duration by the keep message before the first state information is obtained, and the closing signal is sent to the BMS after the first state information is obtained and it is determined that the vehicle satisfies the high-voltage power-on condition according to the first state information, which can ensure that the relay is controlled to close to make the vehicle enter the high-voltage power-on state in the case where it is determined that the vehicle satisfies the high-voltage power-on condition according to the first state information, thereby reducing the probability of the relay being mistakenly closed.
[0092] Optionally, a relay of the battery pack is controlled to be closed, comprising:
[0093] A reset reason of the vehicle controller is determined;
[0094] If the reset reason is a target reset reason, the relay is controlled to be closed; if the reset reason is not the target reset reason, the state of the relay is unchanged; wherein the target reset reason is a reset reason that does not cause the vehicle controller to be continuously reset.
[0095] The target reset reason refers to a reset reason among all reset reasons that, after causing the vehicle controller to be abnormally reset, the vehicle can enter a high-voltage power-on state and will not cause the vehicle controller to be abnormally reset again within a short time.
[0096] Exemplarily, the reset reasons that can cause the vehicle controller to be abnormally reset can be determined in advance through experiments, and such reset reasons are the target reset reasons. The target reset reasons can be one or more. The target reset reasons include, but are not limited to, damage of an electronic element on a main control board of the vehicle controller, over-temperature of the main control board, abnormal voltage fluctuation of a power module, software running error, and the like.
[0097] A diagnostic program is installed in the vehicle controller. After the vehicle controller is abnormally reset, the diagnostic program can be run to determine the reset reason. The diagnostic program can obtain log data of the vehicle controller, and determine the reset reason by analyzing the log data. For example, the log data can record the voltage output by the power module and the temperature of the main control board. After the vehicle controller is abnormally reset, if the diagnostic program determines that the voltage output by the power module recorded in the log data exceeds a preset upper limit or is lower than a preset lower limit, it is determined that the reset reason includes abnormal voltage fluctuation of the power module. In addition, if the diagnostic program determines that the temperature of the main control board recorded in the log data exceeds a preset temperature value, it is determined that the reset reason includes over-temperature of the main control board. For another example, after the vehicle controller is abnormally reset, the diagnostic program can perform self-checking on the hardware circuit of the vehicle controller. If it is detected that a certain electronic element on the main control board is faulty, it is determined that the reset reason includes damage of the electronic element. The above are only exemplary examples, and the method for determining the reset reason by the vehicle controller can include, but is not limited to, the above examples.
[0098] The reset reason causing the abnormal reset of the vehicle controller can be one or multiple. After determining the reset reason or reasons causing the abnormal reset of the vehicle controller, it can be determined whether each reset reason is the target reset reason, and when it is determined that each reset reason is the target reset reason, the relay can be controlled to be closed. Conversely, if part of the reset reasons or all of the reset reasons are not the target reset reason, the state of the relay remains unchanged. In this way, after the vehicle controller is abnormally reset, the relay is controlled to be closed to make the vehicle enter the high-voltage power-on state only when the reset reason is the target reset reason, and the relay is not controlled to be closed when the reset reason is other reset reasons than the target reset reason, so that the vehicle does not enter the high-voltage power-on state, and the probability of the vehicle controller being reset again can be reduced.
[0099] In the embodiments of the present application, after the vehicle controller is abnormally reset, the relay is controlled to be closed to make the vehicle enter the high-voltage power-on state when it is determined that the vehicle meets the high-voltage power-on state and the reset reason is the target reset reason, so that the probability of the vehicle controller being abnormally reset again can be reduced.
[0100] Optionally, after the relay is controlled to be closed, the method can further include:
[0101] Obtaining second state information of the vehicle corresponding to the target reset reason stored in advance;
[0102] Adjusting the state of the vehicle according to the second state information.
[0103] In an embodiment, for a certain target reset reason, corresponding second state information can be set and stored, and the second state information is state information of the vehicle in the high-voltage power-on state, and the second state information can include vehicle speed, torque, 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 reset, and the vehicle controller can record the state information of the vehicle in real time during the operation of the vehicle. After reset, if it is determined that the reset reason is the target reset reason, the pre-recorded state information (i.e., the second state information) is obtained, and the state of the vehicle is adjusted according to the second state information to restore the state of the vehicle to the state before the abnormal reset.
[0104] For example, for a certain target reset reason, after the vehicle controller resets 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 state information of the vehicle in the preset state (i.e., second state information). After an abnormal reset occurs, if it is determined that the reset reason is the target reset reason, the pre-recorded state information of the preset state (i.e., second state information) is obtained, and the state of the vehicle is adjusted according to the second state information, so that the state of the vehicle reaches the preset state.
[0105] In some embodiments, for a certain group of target reset reasons, a plurality of target reset reasons are included in the group of 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 reason 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 state of the vehicle is adjusted according to the second state information.
[0106] It should be understood that different target reset reasons can be set with the same or different second state information, and the method of obtaining the second state information can include but is not limited to the above examples.
[0107] In the embodiments of the present application, after the vehicle controller abnormally resets, the state of the vehicle is adjusted according to the state parameter corresponding to the reset reason, which can accurately control the state of the vehicle after abnormal reset, thereby reducing other problems that may be caused after the relay is closed.
[0108] Referring to Figure 4 , Figure 4 is a structural schematic diagram of a battery pack control device provided in the embodiments of the present application. As shown in Figure 4 , the battery pack control device 400 is arranged in a vehicle controller in a vehicle, and can include:
[0109] The acquisition module 401 is configured to acquire first state information of the vehicle when it is monitored that the vehicle controller abnormally resets.
[0110] The acquisition module 401 is further configured to control the relay of the battery pack to be closed 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 be 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 apparatus 400 further comprises a generating module and a suspending module, the generating module is configured to generate a closing message before the obtaining the first state information of the vehicle; the closing message is configured to instruct a battery management system of the battery pack to control the relay to close; the suspending module is configured to suspend sending of the closing message, and send the closing message to the battery management system when it is determined that the vehicle meets the high-voltage power-on condition or destroy the closing message when it is determined that the vehicle does not meet the high-voltage power-on condition.
[0113] Optionally, the apparatus 400 further comprises a starting module, configured to start a normal message receiving function of the vehicle controller at a first time point after the vehicle controller is reset, so as to receive the first state information sent by other components in the vehicle through the normal message receiving function; start a normal message sending function of the vehicle controller at a second time point after the first time point, so as to suspend sending of the closing message between the first time point and the second time point; and the interval between the first time point and the second time point is greater than a time length required by the vehicle controller to obtain the first state information.
[0114] Optionally, the suspending module is specifically configured to control the normal message sending function of the vehicle controller to be in an invalid state, or control the closing message to be invalid for a preset time length, so as to restart sending of the closing message after the preset time length is suspended; and the preset time length is greater than a time length required by the vehicle controller to obtain the first state information.
[0115] Optionally, the apparatus 400 further comprises a sending module, configured to send a holding message to a battery management system in the vehicle before the obtaining the first state information of the vehicle; the holding message is configured to instruct the battery management system to control a state of the relay to be unchanged within a preset time length, and the preset time length is greater than a time length required by the vehicle controller to obtain the first state information.
[0116] Optionally, the control module 402 is specifically configured to determine a reset reason of the vehicle controller being reset; and if the reset reason is a target reset reason, control the relay to close; and the target reset reason is a reset reason that does not cause the vehicle controller to be continuously reset.
[0117] Optionally, the apparatus 400 further comprises an adjusting module, configured to obtain second state information of the vehicle corresponding to the target reset reason stored in advance; and adjust a state of the vehicle according to the second state information.
[0118] Referring to Figure 5 , Figure 5This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application.
[0119] For example, such as Figure 5 As shown, the vehicle 500 includes a memory 501 and a processor 502. The memory 501 stores 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] Furthermore, embodiments of this application also protect 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 in embodiments of this application.
[0121] This embodiment can divide the device into functional modules based on the above method example. For example, each module can correspond to a separate function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0122] When the functional modules are divided according to their respective functions, the device may also include an acquisition module and an adjustment module. It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here.
[0123] It should be understood that the device provided in this embodiment is used to execute the above-described battery pack control method, and therefore can achieve the same effect as the above-described implementation method.
[0124] When using an integrated unit, the device may include a determining module and an adjusting module. When the device is applied to a vehicle, the processing module can be used to control and manage the vehicle's movements. The storage module can be used to support the vehicle in executing relevant program code, etc.
[0125] The processing module can be a processor or a vehicle body module, which can implement or execute various exemplary logic blocks, modules, and circuits shown in conjunction with the disclosure of this application. The processor can also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc., and the storage module can be a memory.
[0126] In addition, the apparatus provided by the embodiments of the present application can be a chip, a component, or a module, and the chip can include a processor and a memory connected to each other. The memory is used to store instructions, and when the processor invokes and executes the instructions, the chip can perform the battery pack control method provided by the above embodiments.
[0127] The embodiments of the present application also provide a readable storage medium having computer program codes stored therein, and when the computer program codes are run on a computer, the computer is caused to perform the above related method steps to implement the battery pack control method provided by the above embodiments.
[0128] The embodiments of the present application also provide a computer program product, and when the computer program product is run on a computer, the computer is caused to perform the above related steps to implement the battery pack control method provided by the above embodiments.
[0129] The apparatus, the readable storage medium, the computer program product, or the chip provided by the embodiments of the present application are used to perform the corresponding method provided above, and thus the beneficial effects achieved by the apparatus, the readable storage medium, the computer program product, or the chip can refer to the beneficial effects of the corresponding method provided above, which will not be described here.
[0130] From the above description of the embodiments, those skilled in the art can understand that, for the convenience and brevity of description, only the division of the above functional modules is taken as an example for illustration, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the functions described above.
[0131] In the embodiments provided by the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. For example, the above-described apparatus embodiments are only schematic, and the division of the modules or units is only a logical function division, and there can be another division manner in actual implementation, for example, a plurality of units or components can be combined or integrated into another apparatus, or some features can be ignored or not executed. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection can be indirect coupling or communication connection through some interfaces, apparatuses or units, and can be electrical, mechanical or other forms.
[0132] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A battery pack control method, characterized by, The method is applied to a vehicle controller in a vehicle, the vehicle also comprising a battery pack, and the method comprises: In the case that the vehicle controller is monitored to be abnormally reset, obtaining current first state information of the vehicle; If it is determined according to the first state information that the vehicle satisfies a high-voltage power-on condition, controlling a relay of the battery pack to be closed; If it is determined according to the first state information that the vehicle does not satisfy the high-voltage power-on condition, controlling a state of the relay to be unchanged; Before the obtaining of the current first state information of the vehicle, the method further comprises: sending a holding message to a battery management system in the vehicle, the holding message being used to instruct the battery management system to control the state of the relay to be unchanged within a preset time length, the preset time length being greater than a time length required by the vehicle controller for obtaining the first state information; The vehicle controller starts timing after sending the holding message to the battery management system, and the controlling of the relay of the battery pack to be closed includes: if it is determined according to the first state information that the vehicle satisfies the high-voltage power-on condition, sending a closing message to the battery management system after the timing time length reaches the preset time length, the closing message being used to instruct the battery management system to control the relay to be closed.
2. The method of claim 1, wherein, Before the obtaining of the current first state information of the vehicle, the method further comprises: Generating the closing message; Pausing 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 satisfies the high-voltage power-on condition or to destroy the closing message when it is determined that the vehicle does not satisfy the high-voltage power-on condition.
3. The method of claim 2, wherein, The method further comprises: At a first time point after the reset of the vehicle controller, starting a normal message receiving function of the vehicle controller, so as to receive the first state information sent by other components in the vehicle through the normal message receiving function; Starting a normal message sending function of the vehicle controller at a second time point after the first time point, so as to pause the sending of the closing message between the first time point and the second time point; wherein, an interval time length between the first time point and the second time point is greater than a time length required by the vehicle controller for obtaining the first state information.
4. The method of claim 2, wherein, The pausing of the sending of the closing message includes: Controlling the normal message sending function of the vehicle controller to be in an invalid state; Or, controlling the closing message to be invalid for a preset time length, so as to restart the sending of the closing message after the interval of the preset time length; wherein, the preset time length is greater than the time length required by the vehicle controller for obtaining the first state information.
5. The method of any one of claims 1 to 4, wherein, The controlling of the relay of the battery pack to be closed includes: Determining a reset reason of the reset of the vehicle controller; If the reset reason is a target reset reason, controlling the relay to be closed; wherein, the target reset reason is a reset reason that will not cause the vehicle controller to be continuously reset.
6. The method of claim 5, wherein, After the controlling of the relay to be closed, the method further comprises: acquire second state information of the vehicle corresponding to the target reset cause; adjust a state of the vehicle according to the second state information.
7. A battery pack control device characterized by comprising: An entire vehicle controller is arranged in a vehicle, and the vehicle further includes a battery pack. The device includes: an acquisition module, configured to acquire first state information of the vehicle currently in a case where it is monitored that the entire vehicle controller is abnormally reset; the acquisition module is further configured to control a relay of the battery pack to be closed if it is determined according to the first state information that the vehicle satisfies a high-voltage power-on condition; a control module, configured to control a state of the relay to be unchanged if it is determined according to the first state information that the vehicle does not satisfy the high-voltage power-on condition; a sending module, configured to send a keep message to a battery management system in the vehicle before the first state information of the vehicle is acquired, the keep message being used to instruct the battery management system to control the state of the relay to be unchanged within a preset time length, the preset time length being longer than a time length required by the entire vehicle controller to acquire the first state information; the entire vehicle controller starts timing after the keep message is sent to the battery management system, and the acquisition module is specifically configured to send a closing message to the battery management system after a timing time length reaches the preset time length if it is determined according to the first state information that the vehicle satisfies the high-voltage power-on condition, the closing message being used to instruct the battery management system to control the relay to be closed.
8. A readable storage medium, characterized by, The readable storage medium has executable program code stored therein, and when the executable program code runs on the electronic device, the electronic device executes the method in any one of claims 1 to 6.
9. A vehicle characterized by comprising: The vehicle includes: a memory, configured to store executable program code; a processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method in any one of claims 1 to 6.
Citation Information
Patent Citations
Reset recovery method and device and vehicle controller
CN116674579A
Vehicle control method and device, electronic equipment and vehicle
CN118618407A