CN-121973661-A - Method, device, electronic equipment, computer storage medium and program product for calculating vehicle charging remaining time
Abstract
The application discloses a method, a device, electronic equipment, a computer storage medium and a program product for calculating vehicle charging remaining time. The method comprises the steps of determining a current charging capacity gear in a charging meter based on the current state and the actual charging capacity of a battery, wherein the charging meter comprises a mapping relation of battery temperature, the charging state and the charging capacity gear, generating a gear change sequence based on the current charging capacity gear based on the charging state and the battery temperature change caused by charging, and calculating accumulated time required from the current charging capacity gear to pass through each gear in the sequence until the charging is completed in sequence based on the gear change sequence to generate charging residual time. The accuracy and stability of calculating the remaining charge time can be improved.
Inventors
- DONG CHAO
Assignees
- 上海洛轲智能科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260206
Claims (10)
- 1. A method of calculating a remaining time of charging of a vehicle, comprising: Determining a current charging capacity gear in a charging meter based on the current state and the actual charging capacity of a battery, wherein the charging meter comprises a mapping relation of the temperature, the state of charge and the charging capacity gear of the battery; generating a gear change sequence based on the current charging capacity gear based on the charge state and the battery temperature change caused by charging; And calculating the accumulated time required for sequentially passing through each gear in the sequence from the current charging capacity gear until the current charging capacity gear is fully charged based on the gear change sequence, and generating the charging residual time.
- 2. The method according to claim 1, wherein determining the current charging capability gear in the charging meter based on the current state and the actual charging capability of the battery, comprises: Comparing the actual multiplying power of the actual charging capacity with the maximum multiplying power used for determining the current charging capacity gear in the charging meter; when the actual multiplying power is larger than or equal to the maximum multiplying power, reserving the maximum multiplying power of the current charging capacity gear; and when the actual multiplying power is smaller than the maximum multiplying power, updating the maximum multiplying power of the current charging capacity gear in the charging meter to the actual multiplying power.
- 3. The method of claim 2, further comprising, prior to said comparing the actual rate of the actual charge capacity with the maximum rate in the charge meter for determining a current charge capacity gear: acquiring average charging current in a preset time window; And if the variation amplitude of the average charging current in a plurality of continuous preset time windows does not exceed a preset threshold value, calculating the actual multiplying power of the actual charging capacity based on the average charging current.
- 4. The method of claim 1, further comprising, after the generating the charge remaining time: generating a gear change sequence after the change when the front charging capacity gear is changed; generating a target charging remaining time based on the calculated accumulated time of the changed gear change sequence; And comparing the charging residual time with the target charging residual time, and adjusting the change rate of the charging residual time based on the comparison result of the charging residual time and the target charging residual time.
- 5. The method according to claim 4, wherein the comparing the charge remaining time with the target charge remaining time, and adjusting the rate of change of the charge remaining time based on the comparison result of the charge remaining time with the target charge remaining time, specifically comprises: reducing a clock rate of change of the charge remaining time by a first gain when the target charge remaining time is greater than the charge remaining time, the first gain increasing with a difference between the charge remaining time and the target charge remaining time; and when the target charge remaining time is smaller than the charge remaining time, increasing a second gain to the clock change rate of the charge remaining time, wherein the second gain increases with the difference value between the charge remaining time and the target charge remaining time.
- 6. The method according to claim 1, wherein calculating, based on the sequence of gear changes, an accumulated time required from the current charging capability gear to go through each gear in the sequence until fully charged, specifically comprises: Determining a temperature interval where the battery is located based on the current minimum cell temperature and the current maximum cell temperature; For each gear in the gear change sequence, calculating battery temperature change quantity based on a temperature rise model corresponding to the temperature interval, and calculating state of charge change quantity based on the current charging capacity gear and the current state of charge of the battery; And calculating the predicted time of each gear based on the battery temperature variation and the state of charge variation, and accumulating the predicted time of each gear to obtain the accumulated time.
- 7. A computing device for a remaining time of a vehicle charge, the device comprising: The first determining unit is used for determining a current charging capacity gear in a charging meter based on the current state and the actual charging capacity of the battery, wherein the charging meter is used for mapping the charging capacity gear based on the temperature and the state of charge of the battery; A second determining unit, configured to generate a gear change sequence based on the current charging capability gear based on a state of charge caused by charging and a battery temperature change; And the generating unit is used for calculating the accumulated time required by the current charging capacity gear to pass through each gear in the sequence until the current charging capacity gear is fully charged based on the gear change sequence, and generating the charging residual time.
- 8. A vehicle is characterized in that the electronic device comprises a processor and a memory storing computer program instructions; The processor, when executing the computer program instructions, implements the method of calculating the vehicle charge remaining time as defined in any one of claims 1 to 6.
- 9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon computer program instructions, which when executed by a processor, implement the method of calculating the remaining time of charging a vehicle as claimed in any one of claims 1 to 6.
- 10. A computer program product, characterized in that instructions in the computer program product, when executed by a processor of an electronic device, cause the electronic device to perform the method of calculating the remaining time of charge of a vehicle as claimed in any one of claims 1 to 6.
Description
Method, device, electronic equipment, computer storage medium and program product for calculating vehicle charging remaining time Technical Field The application belongs to the technical field of calculation of vehicle charging remaining time, and particularly relates to a method and a device for calculating vehicle charging remaining time, electronic equipment, a computer storage medium and a program product. Background With the popularization rate of new energy automobiles (including pure electric automobiles and hybrid electric automobiles) greatly improved, quick charging has become a core requirement for daily energy supplement of users. However, in an actual direct current fast charging scene, multiple complex variables in the charging process are difficult to deal with in a traditional calculation mode, particularly in fast charging, the residual time frequently fluctuates in a large range and has larger deviation from the actual charging time due to the interference of factors such as the output capacity of a charging pile, a switch air conditioner, the ambient temperature and the like. Thus, there is a need to solve the problems of calculation accuracy and stability of the remaining charge time. Disclosure of Invention The embodiment of the application provides a method, a device, electronic equipment, a computer storage medium and a program product for calculating the charging remaining time of a vehicle, which can improve the accuracy and the stability of calculating the charging remaining time. On one hand, the embodiment of the application provides a calculation method of vehicle charging remaining time, which comprises the steps of determining a current charging capacity gear in a charging meter based on the current state and actual charging capacity of a battery, wherein the charging meter comprises a mapping relation among battery temperature, the state of charge and the charging capacity gear, generating a gear change sequence based on the current charging capacity gear based on the state of charge and the battery temperature change caused by charging, and calculating accumulated time required from the current charging capacity gear to full charge after each gear in the sequence based on the gear change sequence to generate charging remaining time. In some possible implementation manners, the current charging capacity gear is determined in the charging meter based on the current state and the actual charging capacity of the battery, and the method specifically comprises the steps of comparing the actual multiplying power of the actual charging capacity with the maximum multiplying power used for determining the current charging capacity gear in the charging meter, reserving the maximum multiplying power of the current charging capacity gear when the actual multiplying power is greater than or equal to the maximum multiplying power, and updating the maximum multiplying power of the current charging capacity gear in the charging meter to the actual multiplying power when the actual multiplying power is smaller than the maximum multiplying power. In some possible implementation manners, before comparing the actual multiplying power of the actual charging capacity with the maximum multiplying power used for determining the current charging capacity gear in the charging meter, the method further comprises the steps of obtaining average charging current in a preset time window, and calculating the actual multiplying power of the actual charging capacity based on the average charging current if the variation amplitude of the average charging current in a plurality of continuous preset time windows does not exceed a preset threshold value. In some possible implementations, after generating the charge remaining time, the method further comprises generating a changed gear change sequence when the current charging capacity gear is changed, generating a target charge remaining time based on the accumulated time calculated by the changed gear change sequence, comparing the charge remaining time with the target charge remaining time, and adjusting the change rate of the charge remaining time based on the comparison result of the charge remaining time and the target charge remaining time. In some possible implementations, the method includes comparing the charge remaining time with the target charge remaining time, and adjusting a rate of change of the charge remaining time based on a result of the comparison of the charge remaining time with the target charge remaining time, specifically including decreasing a clock rate of change of the charge remaining time by a first gain when the target charge remaining time is greater than the charge remaining time, the first gain increasing with a difference between the charge remaining time and the target charge remaining time, and increasing the clock rate of change of the charge remaining time by a second gain when the target charge remaining time is less than t