Charging duration determining method, BMS, battery, and electrical device
This application discloses a charging duration determining method, a BMS, a battery, and an electrical device. The method includes: determining a charge temperature of a battery; estimating, in a case that the charge temperature exceeds a first specified range, a first duration to be taken to adjust the charge temperature of the battery to the first specified range; estimating a second duration to be taken to charge the battery to a target SOC after the charge temperature of the battery has been adjusted to the first specified range; and determining, based on a charge start time of the battery, the first duration, and the second duration, a duration to be taken to charge the battery to the target SOC. The charging duration determined for the battery according to this application is more accurate, and facilitates users to accurately learn the charging status of the battery in time.
1 . A charging duration determining method, comprising:
determining a charge temperature of a battery;
activating, in response to the charge temperature being outside a first specified range, a thermal management device and controlling a charger such that a portion of a charge current is used by the thermal management device to adjust the charge temperature during a first duration and a remaining portion is supplied to the battery, the first duration being a duration to be taken to adjust the charge temperature of the battery to the first specified range;
estimating, in response to the charge temperature exceeding the first specified range, the first duration;
determining, for the first duration, an effective charge current for the battery as a difference between the charge current of the charger and a current consumed by the thermal management device;
determining a first state of charge (SOC) of the battery of which the charge temperature reaches the first specified range based on a current SOC of the battery, a cell capacity of the battery, the effective charge current, and the first duration;
estimating a second duration to be taken to charge the battery from the first SOC to a target SOC after the charge temperature of the battery has been adjusted to the first specified range;
determining, based on a charge start time of the battery, the first duration, and the second duration, a duration to be taken to charge the battery to the target SOC; and
controlling the charger, after the charge temperature is within the first specified range, to charge the battery toward the target SOC in accordance with the determined duration.
2 . The method according to claim 1 , wherein the estimating the first duration comprises:
calculating the first duration based on the charge temperature, a target temperature to which the temperature is to be adjusted, and a temperature rise rate, wherein the target temperature to which the temperature is to be adjusted is a value in the first specified range, and the charge temperature is lower than a minimum value in the first specified range.
3 . The method according to claim 1 , wherein the estimating the first duration comprises:
calculating the first duration based on the charge temperature, a target temperature to which the temperature is to be adjusted, and a temperature drop rate, wherein the target temperature to which the temperature is to be adjusted is a value in the first specified range, and the charge temperature is higher than a minimum value in the first specified range.
4 . The method according to claim 1 , wherein the estimating the second duration to be taken to charge the battery from the first SOC to the target SOC comprises:
determining a to-be-charged capacity of the battery based on the first SOC, the target SOC, and the cell capacity of the battery; and
calculating the second duration based on the to-be-charged capacity and the charge current of the charger.
5 . The method according to claim 4 , wherein the determining the first SOC of the battery of which the charge temperature reaches the first specified range comprises:
determining, when only adjusting the charge temperature of the battery, that a current SOC of the battery is the first SOC.
6 . The method according to claim 4 , wherein the method further comprises:
obtaining a maximum charge current of the charger and an actual output current coefficient of the charger; and
determining that a product of the maximum charge current and the actual output current coefficient is the charge current of the charger.
7 . The method according to claim 6 , wherein the obtaining the actual output current coefficient of the charger comprises:
determining the actual output current coefficient of the charger based on historical charge data of the battery.
8 . The method according to claim 6 , wherein the obtaining the actual output current coefficient of the charger comprises:
calculating the actual output current coefficient of the charger based on the maximum charge current of the charger and an actual charge current of the battery.
9 . The method according to claim 1 , wherein the method further comprises:
outputting, in response to arrival of a transmission period or a request message, information on the duration to be taken to charge the battery to the target SOC to a target object.
10 . A battery, comprising a processor and a storage medium storing a computer program that, when executed by the processor, implements a charging duration determining method including:
determining a charge temperature of a battery;
activating, in response to the charge temperature being outside a first specified range, a thermal management device and controlling a charger such that a portion of a charge current is used by the thermal management device to adjust the charge temperature during a first duration and a remaining portion is supplied to the battery, the first duration being a duration to be taken to adjust the charge temperature of the battery to the first specified range;
estimating, when the charge temperature exceeds the first specified range, the first duration;
determining, for the first duration, an effective charge current for the battery as a difference between the charge current of the charger and a current consumed by the thermal management device;
determining a first state of charge (SOC) of the battery of which the charge temperature reaches the first specified range based on a current SOC of the battery, a cell capacity of the battery, the effective charge current, and the first duration;
estimating a second duration to be taken to charge the battery from the first SOC to a target SOC after the charge temperature of the battery has been adjusted to the first specified range;
determining, based on a charge start time of the battery, the first duration, and the second duration, a duration to be taken to charge the battery to the target SOC; and
controlling the charger, after the charge temperature is within the first specified range, to charge the battery toward the target SOC in accordance with the determined duration.
11 . The battery according to claim 10 , wherein the estimating the first duration comprises:
calculating the first duration based on the charge temperature, a target temperature to which the temperature is to be adjusted, and a temperature rise rate, wherein the target temperature to which the temperature is to be adjusted is a value in the first specified range, and the charge temperature is lower than a minimum value in the first specified range.
12 . The battery according to claim 10 , wherein the estimating the first duration comprises:
calculating the first duration based on the charge temperature, a target temperature to which the temperature is to be adjusted, and a temperature drop rate, wherein the target temperature to which the temperature is to be adjusted is a value in the first specified range, and the charge temperature is higher than a minimum value in the first specified range.
13 . The battery according to claim 10 , wherein the estimating the second duration to be taken to charge the battery from the first SOC to a target SOC comprises:
determining a to-be-charged capacity of the battery based on the first SOC, the target SOC, and a cell capacity of the battery; and
calculating the second duration based on the to-be-charged capacity and the charge current of the charger.
14 . The battery according to claim 13 , wherein the determining the first SOC of the battery of which the charge temperature reaches the first specified range comprises:
determining, when only adjusting the charge temperature of the battery, that a current SOC of the battery is the first SOC.
15 . The battery according to claim 13 , wherein the method further comprises:
obtaining a maximum charge current of the charger and an actual output current coefficient of the charger; and
determining that a product of the maximum charge current and the actual output current coefficient is the charge current of the charger.
16 . The battery according to claim 10 , wherein the method further comprises:
outputting, in response to arrival of a transmission period or a request message, information on the duration to be taken to charge the battery to the target SOC to a target object.
17 . An electrical device comprising a device body and the battery according to claim 10 .