Method and device for determining residual charging display time of battery and electronic equipment
By detecting and optimizing the model for determining the remaining charging time under multiple charging environments, the problem of inaccurate prediction of the remaining battery charging time has been solved, achieving higher accuracy and user satisfaction.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HEFEI GUOXUAN HIGH TECH POWER ENERGY
- Filing Date
- 2026-01-13
- Publication Date
- 2026-04-28
AI Technical Summary
Existing technologies do not accurately predict the remaining battery charging time, making it difficult to meet users' increasing demands for precision.
The target charging remaining time determination model was tested using multiple charging remaining calculation time series and multiple charging remaining display time series. By testing in multiple charging environments, the model was ensured to maintain high performance in different scenarios. The model was then optimized based on the running status data and charging environment data until the test results met high standards.
This improves the accuracy of battery charging time determination and user experience, ensuring a comprehensive improvement in both the technology and user experience of the prediction results.
Smart Images

Figure CN121933930A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of battery technology, and more specifically, to a method, apparatus, and electronic device for determining the remaining charging time of a battery. Background Technology
[0002] With the rapid popularization of electric vehicles, battery charging technology has developed rapidly, especially the technology for predicting remaining charging time. Remaining charging time, particularly the displayed remaining charging time, has a significant impact on user trip planning, charging station operation management, and power resource scheduling. Current technologies predict remaining charging time based on battery state of charge and average charging rate. However, due to changes in battery characteristics and fluctuations in charging conditions during the charging process, the prediction results often have significant errors, making it difficult to meet users' increasingly demanding accuracy requirements. Therefore, these technologies suffer from the technical problem of inaccurate determination of remaining charging time.
[0003] There is currently no effective solution to the above problems. Summary of the Invention
[0004] This application provides a method, apparatus, and electronic device for determining the remaining charging time of a battery, so as to at least solve the technical problem of inaccurate determination of the remaining charging time of a battery in the related art.
[0005] According to one aspect of the embodiments of this application, a method for determining the remaining charging display time of a battery is provided, comprising: detecting a target charging remaining time determination model using multiple charging remaining calculation time sequences and multiple charging remaining display time sequences to obtain a target detection result of the target charging remaining time determination model, wherein the multiple charging remaining calculation time sequences are obtained by a charging remaining calculation time determination module of the target charging remaining time determination model under multiple charging environments, and the multiple charging remaining display time sequences are obtained by a charging remaining display time determination module of the target charging remaining time determination model under multiple charging environments, with each charging environment corresponding one-to-one with the multiple charging remaining calculation time sequences and each charging remaining calculation time sequence corresponding one-to-one with the multiple charging remaining display time sequences; when the target detection result indicates that the detection has passed, collecting the operating status data of the target battery and the target charging environment data of the target battery; and based on the operating status data and the target charging environment data, using the target charging remaining time determination model to obtain the remaining charging display time of the target battery, wherein the remaining charging display time refers to the remaining charging time required for the target battery to be charged and displayed to the user. By testing in multiple charging environments, it can be ensured that the target charging remaining time determination model can maintain high performance in different usage scenarios, thereby enhancing the generalization ability and practicality of the target charging remaining time determination model.
[0006] Optionally, the target remaining charging time determination model is tested using multiple remaining charging time calculation time series and multiple remaining charging time display time series to obtain target detection results for the target remaining charging time determination model. This includes: obtaining first detection results corresponding to each of the multiple remaining charging time calculation time series; obtaining second detection results corresponding to each of the multiple remaining charging time display time series; and obtaining the target detection result based on the first detection results and the second detection results corresponding to the multiple remaining charging time calculation time series and multiple remaining charging time display time series, respectively. The first and second detection results test the target remaining charging time determination model from performance and user experience perspectives, ensuring comprehensiveness and depth of detection, and helping to identify potential defects or user experience deficiencies in the target remaining charging time determination model.
[0007] Optionally, based on multiple remaining charging time series, a first detection result corresponding to each of the multiple remaining charging time series is obtained, including: for any remaining charging time series among the multiple remaining charging time series, determining the average error of any remaining charging time series based on any remaining charging time series, the actual remaining charging time series corresponding to any remaining charging time series, and a first number of multiple remaining charging times included in any remaining charging time series; determining the error variance of any remaining charging time series based on any remaining charging time series, the actual remaining charging time series corresponding to any remaining charging time series, and the average error; obtaining the error convergence characteristic of any remaining charging time series based on any remaining charging time series and the actual remaining charging time series corresponding to any remaining charging time series, wherein the error convergence characteristic is used to describe the variation characteristics of the error between the remaining charging time and the actual remaining charging time with charging time; determining the first detection result of any remaining charging time series based on the average error, error variance, and error convergence characteristic; and obtaining the first detection result corresponding to each of the multiple remaining charging time series by using the method of determining the first detection result of any remaining charging time series. By detecting the performance of the target remaining charging time determination model from multiple dimensions, the comprehensiveness and depth of the detection can be ensured. This helps to identify and address the shortcomings of the target remaining charging time determination model in terms of prediction accuracy, stability, and adaptability, thereby improving the accuracy of the final displayed remaining charging time of the target battery.
[0008] Optionally, based on multiple charging remaining display time series, a second detection result corresponding to each of the multiple charging remaining display time series is obtained, including: for any charging remaining display time series among the multiple charging remaining display time series, determining the weighted average error of any charging remaining display time series based on any charging remaining display time series and the actual remaining time series corresponding to any charging remaining display time series; determining the time lead rate of any charging remaining display time series based on any charging remaining display time series, the actual remaining time series corresponding to any charging remaining display time series, and a second number of multiple charging remaining display times included in any charging remaining display time series; determining the smoothness and monotonically decreasing nature of any charging remaining display time series based on the multiple charging remaining display times included in any charging remaining display time series; determining the second detection result of any charging remaining display time series based on the weighted average error, time lead rate, smoothness, and monotonically decreasing nature; and obtaining the second detection result corresponding to each of the multiple charging remaining display time series by using the method of determining the second detection result of any charging remaining display time series. The determination of the second detection result can identify problems in the target charging remaining time determination model at the user experience level, provide guidance for the continuous optimization of the target charging remaining time determination model, and ensure the high accuracy and high availability of the charging remaining display time determination result.
[0009] Optionally, based on any remaining charging time display time series and the corresponding actual remaining time series, a weighted average error for any remaining charging time series is determined. This includes: determining the gain coefficients corresponding to the multiple remaining charging times included in the given remaining charging time series; and determining the weighted average error based on the given remaining charging time series, the corresponding actual remaining time series, and the gain coefficients corresponding to the multiple remaining charging times. By introducing gain coefficients and weighted average error, the prediction performance of the target remaining charging time determination model can be specifically optimized during charging phases where users are highly focused on, thereby comprehensively improving the accuracy of remaining charging time prediction results from both a technical and user experience perspective.
[0010] Optionally, based on any remaining charging time series, the corresponding actual remaining time series, and a second number of remaining charging times included in the remaining charging time series, the time lead rate of any remaining charging time series is determined. This includes: obtaining multiple differences based on the multiple remaining charging times included in the remaining charging time series and the multiple actual remaining times included in the corresponding actual remaining time series, wherein each remaining charging time corresponds one-to-one with each actual remaining time, and each remaining charging time corresponds one-to-one with each difference; determining the number of differences less than a first preset threshold; and determining the time lead rate based on the number of differences and the second number. The time lead rate detects the degree to which the remaining charging time predicted by the target remaining charging time determination model is ahead of the actual remaining time, thereby identifying and correcting defects that may cause the target remaining charging time determination model to predict too early, thus improving the prediction accuracy of the remaining charging time.
[0011] Optionally, if the target detection result indicates that the detection has failed, the method further includes: correcting the target remaining charging time determination model based on the target detection result to obtain an updated remaining charging time determination model; detecting the updated remaining charging time determination model using multiple updated remaining charging calculation time series and multiple updated remaining charging display time series to obtain an updated detection result for the updated remaining charging time determination model, wherein the multiple updated remaining charging calculation time series and multiple updated remaining charging display time series are obtained by using the updated remaining charging time determination model under multiple charging environments for the test battery; if the updated detection result indicates that the detection has passed, the updated remaining charging time determination model is determined as the target remaining charging time determination model; or, if the updated detection result indicates that the detection has failed, the updated remaining charging time determination model is corrected by modifying the target remaining charging time determination model until the detection passes, and the remaining charging time determination model obtained when the detection passes is determined as the target remaining charging time determination model. By continuously adjusting and optimizing the target remaining charging time determination model until its prediction results meet high-standard detection conditions, it helps to gradually improve the prediction accuracy of the target remaining charging time determination model, thereby improving the accuracy of the remaining charging time determination result of the target battery.
[0012] Optionally, based on operational status data and target charging environment data, a target charging remaining time determination model is used to obtain the remaining display time for the target battery. This includes: a remaining charging calculation time determination module based on the operational status data and target charging environment data, using the target charging remaining time determination model to obtain the remaining calculated charging time for the target battery, where the remaining calculated charging time refers to the predicted remaining charging time required by the target battery; and a remaining charging display time determination module based on the remaining calculated charging time, using the target charging remaining time determination model to obtain the remaining display time for the target battery. By collecting the operational status data and target charging environment data of the target battery, the accuracy of the remaining charging calculation time determination result can be improved, thereby improving the accuracy of the remaining charging display time determination result. Simultaneously, by converting the remaining charging calculation time result into the remaining charging display time, the remaining charging display time received by the user is more reasonable, contributing to improved user satisfaction and user experience.
[0013] According to another aspect of the embodiments of this application, a device for determining the remaining charging time of a battery is provided, comprising: a detection module, configured to detect a target remaining charging time determination model using multiple remaining charging time calculation sequences and multiple remaining charging time display sequences, to obtain a target detection result of the target remaining charging time determination model, wherein the multiple remaining charging time calculation sequences are obtained by the charging time determination module of the target remaining charging time determination model under multiple charging environments, and the multiple remaining charging time display sequences are obtained by the charging time determination module of the target remaining charging time determination model under multiple charging environments, with each charging environment corresponding one-to-one with the multiple remaining charging time calculation sequences and each charging time calculation sequence corresponding one-to-one with the multiple remaining charging time display sequences; a data acquisition module, configured to acquire the operating status data of the target battery and the target charging environment data of the target battery when the target detection result indicates that the detection has passed; and a remaining charging time determination module, configured to obtain the remaining charging time of the target battery based on the operating status data and the target charging environment data, using the target remaining charging time determination model, wherein the remaining charging time refers to the remaining charging time required for charging the target battery displayed to the user.
[0014] According to another aspect of the embodiments of this application, a non-volatile storage medium is provided, which stores a plurality of instructions adapted for a method for determining the remaining display time of a battery charge, any one of which is loaded by a processor.
[0015] According to another aspect of the embodiments of this application, an electronic device is provided, including: one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement any one of the following methods for determining the remaining display time of battery charging.
[0016] According to another aspect of the embodiments of this application, a computer program product is provided, which, when executed on a data processing device, is adapted to perform the steps of a method for determining the remaining display time of battery charging.
[0017] In this embodiment, the target remaining charging time determination model is tested using multiple remaining charging time calculation time series and multiple remaining charging time display time series to obtain the target detection result of the target remaining charging time determination model. The multiple remaining charging time calculation time series are obtained by the remaining charging time determination module of the target remaining charging time determination model under multiple charging environments, and the multiple remaining charging time display time series are obtained by the remaining charging time display module of the target remaining charging time determination model under multiple charging environments. Each charging environment corresponds one-to-one with the multiple remaining charging time series, and each remaining charging time series corresponds one-to-one with the multiple remaining charging time display time series. When the target detection result indicates that the detection has passed, the operating status data and target charging environment data of the target battery are collected. Based on the operating status data and target charging environment data, the target remaining charging time determination model is used to obtain the remaining charging time of the target battery. The remaining charging time displayed refers to the remaining charging time required for the target battery to be charged, as shown to the user. The goal is to improve the accuracy of the remaining charging time determination model by testing it under multiple charging environments, and then, based on the target battery's operating status data and target charging environment data, using the model to obtain the remaining charging time display. This solves the technical problem of inaccurate remaining charging time determination in related technologies. Attached Figure Description
[0018] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0019] Figure 1 This is a flowchart of a method for determining the remaining charging time of a battery according to an embodiment of this application;
[0020] Figure 2This is a schematic diagram of an optional battery charging remaining display time determination device provided according to an embodiment of this application. Detailed Implementation
[0021] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0022] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0023] According to an embodiment of this application, a method embodiment for determining the remaining display time of a battery charge is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0024] Figure 1 This is a flowchart of a method for determining the remaining charging time of a battery according to an embodiment of this application, as shown below. Figure 1 As shown, the method includes the following steps:
[0025] Step S102: The target charging remaining time determination model is detected using multiple charging remaining calculation time series and multiple charging remaining display time series to obtain the target detection result of the target charging remaining time determination model. The multiple charging remaining calculation time series are obtained by the charging remaining calculation time determination module of the target charging remaining time determination model under multiple charging environments. The multiple charging remaining display time series are obtained by the charging remaining display time determination module of the target charging remaining time determination model under multiple charging environments. The multiple charging environments correspond one-to-one with the multiple charging remaining calculation time series and the multiple charging remaining calculation time series correspond one-to-one with the multiple charging remaining display time series.
[0026] The process involves placing the test battery under multiple charging environments for charging tests, and collecting the remaining charging time calculation and display times of the test battery using both the remaining charging time calculation and display time determination modules of the target remaining charging time determination model. This results in multiple remaining charging time calculation and display time sequences for the test battery. The target remaining charging time determination model is then tested using these multiple time sequences to obtain its target detection results. By testing under multiple charging environments, the high performance of the target remaining charging time determination model can be ensured in various usage scenarios, enhancing its generalization ability and practicality.
[0027] Optionally, the environmental chamber can be set up according to different temperature conditions (i.e. multiple charging environments), and the test battery can be charged under the test conditions of each charging environment. The calculated charging time series and the displayed charging time series are evaluated to obtain multiple first detection results and multiple second detection results of the target charging time determination model under multiple charging environments, and finally the target detection result of the target charging time determination model is obtained. The aforementioned charging environments may include, but are not limited to: a) a normal temperature of 25 (±3) degrees Celsius, relative humidity controlled at 15%-90%, and atmospheric pressure controlled at 86 kPa-106 kPa; b) a low temperature of 0 (±3) degrees Celsius; c) a high temperature of 45 (±3) degrees Celsius; d) temperature conditions based on historical typical daytime temperature curves for spring in the region where the electric vehicle is located; e) temperature conditions based on historical typical nighttime temperature curves for spring in the region where the electric vehicle is located; f) temperature conditions based on historical typical daytime temperature curves for summer in the region where the electric vehicle is located; g) temperature conditions based on historical typical nighttime temperature curves for summer in the region where the electric vehicle is located; h) temperature conditions based on historical typical daytime temperature curves for autumn in the region where the electric vehicle is located; i) temperature conditions based on historical typical nighttime temperature curves for autumn in the region where the electric vehicle is located; j) temperature conditions based on historical typical daytime temperature curves for winter in the region where the electric vehicle is located; k) temperature conditions based on historical typical nighttime temperature curves for winter in the region where the electric vehicle is located.
[0028] Optionally, the following test environment conditions can be used as an example: a normal temperature of 25 (±3) degrees Celsius, relative humidity controlled at 15%-90%, and atmospheric pressure controlled at 86 kPa-106 kPa (i.e., one of multiple charging environments). This will illustrate how to collect the remaining charging time series and the remaining charging display time series for this charging environment. First, the environmental chamber is equipped with a functional charging pile (DC or AC) and its power supply equipment. A well-maintained electric vehicle (i.e., the vehicle testing the battery) is selected and discharged to the lower limit of the allowable discharge SOC (State of Charge), and the electric vehicle is left idle for a sufficient period. Second, the electric vehicle is connected to a data acquisition device. From the moment the charging conditions between the charging pile and the electric vehicle are established and charging begins, the remaining charging time is recorded in real time. Data such as the test battery's faults and charging status are collected, and the calculated remaining charging time signal (i.e., remaining charging time calculation) and the displayed remaining charging time signal (i.e., remaining charging display time) are recorded every second. Next, charging and data recording are continued until the upper limit of the allowable SOC is reached. Then, the validity of the data is confirmed. If charging is interrupted due to battery failure, abnormal charging status, or other reasons, the data recorded for this charging test is discarded, and the charging test is restarted. If no battery failure, abnormal charging status, or other reasons cause charging to be interrupted during the entire charging process, the remaining charging time is evaluated. Finally, the remaining charging calculation time R, remaining charging display time D, time series S, and actual remaining time T are extracted at 10-second intervals (the first recorded actual time point is recorded as 0 to obtain the time series S, which is then processed in reverse order to obtain the actual remaining charging time T). Time intervals of less than 10 seconds between charging cutoff sampling points are also counted as independent data points, resulting in three data sequences from 0 to N, namely the remaining charging calculation time series R. N Remaining charge display time series D N and the actual remaining time series T N .
[0029] In one optional embodiment, the target remaining charging time determination model is detected using multiple remaining charging time calculation time series and multiple remaining charging time display time series to obtain a target detection result for the target remaining charging time determination model. This includes: obtaining a first detection result corresponding to each of the multiple remaining charging time calculation time series; obtaining a second detection result corresponding to each of the multiple remaining charging time display time series; and obtaining a target detection result based on the first detection result corresponding to each of the multiple remaining charging time calculation time series and the second detection result corresponding to each of the multiple remaining charging time display time series.
[0030] It is understandable that multiple charging remaining time calculation time series are tested separately to obtain first detection results for each of the multiple charging remaining time calculation time series; and multiple charging remaining display time series are tested separately to obtain second detection results for each of the multiple charging remaining display time series. Based on the first detection results and the second detection results for the multiple charging remaining time calculation time series and the multiple charging remaining display time series, the target detection result of the target charging remaining time determination model is obtained, including pass and fail. If the detection passes, it indicates that the performance of the target charging remaining time determination model meets the requirements, and the charging remaining display time obtained using it has high accuracy; conversely, if the detection fails, it indicates that the performance of the target charging remaining time determination model does not meet the requirements, and the charging remaining display time obtained using it has a large error and insufficient accuracy. The first and second detection results test the target charging remaining time determination model from the perspectives of performance and user experience, ensuring the comprehensiveness and depth of the detection, and helping to discover potential defects or deficiencies in the target charging remaining time determination model or user experience.
[0031] Optionally, if the first detection results corresponding to multiple remaining charging time series and the second detection results corresponding to multiple remaining charging time series all indicate that the detection has passed, it means that the target detection result of the target remaining charging time determination model has passed; otherwise, the detection result is that the detection has failed.
[0032] In one optional embodiment, based on multiple remaining charging time series, a first detection result corresponding to each of the multiple remaining charging time series is obtained, including: for any remaining charging time series among the multiple remaining charging time series, determining the average error of any remaining charging time series based on any remaining charging time series, the actual remaining charging time series corresponding to any remaining charging time series, and a first number of multiple remaining charging times included in any remaining charging time series; determining the error variance of any remaining charging time series based on any remaining charging time series, the actual remaining charging time series corresponding to any remaining charging time series, and the average error; obtaining the error convergence characteristic of any remaining charging time series based on any remaining charging time series and the actual remaining charging time series corresponding to any remaining charging time series, wherein the error convergence characteristic is used to describe the variation characteristics of the error between the remaining charging time and the actual remaining charging time with charging time; determining the first detection result of any remaining charging time series based on the average error, error variance, and error convergence characteristic; and obtaining the first detection result corresponding to each of the multiple remaining charging time series by using the method of determining the first detection result of any remaining charging time series.
[0033] It can be understood that the first detection includes the detection of average error, the detection of error variance, and the detection of error convergence characteristics. For any remaining charging time series among multiple remaining charging time series, the average error of any remaining charging time series is calculated based on the given remaining charging time series, the corresponding actual remaining charging time series, and the first number of remaining charging time series included in the given remaining charging time series. Based on the given remaining charging time series, the corresponding actual remaining charging time series, and the average error, the error variance of any remaining charging time series is calculated. Based on the given remaining charging time series and the corresponding actual remaining charging time series, the error convergence characteristics of any remaining charging time series are analyzed. Based on the average error, error variance, and error convergence characteristics of any remaining charging time series, the first detection result of any remaining charging time series is obtained. Using the same method as obtaining the first detection result of any remaining charging time series, the first detection results corresponding to multiple remaining charging time series are obtained respectively. By detecting the performance of the target remaining charging time determination model from multiple dimensions, the comprehensiveness and depth of the detection can be ensured. This helps to identify and address the shortcomings of the target remaining charging time determination model in terms of prediction accuracy, stability, and adaptability, thereby improving the accuracy of the final displayed remaining charging time of the target battery.
[0034] Optionally, the remaining charging time R can be evaluated from three dimensions: time average error, error variance, and error convergence characteristics, thereby detecting the accuracy of the target remaining charging time determination model based on the remaining charging time estimation algorithm.
[0035] Optionally, the average error is obtained by summing the absolute values of the differences between the calculated remaining charging time and the corresponding actual remaining time, and then taking the average. The smaller the average error e, the higher the accuracy of the estimated remaining charging time. The average error e can be determined in the following way:
[0036]
[0037] Among them, R n R represents the remaining charging time series calculation. N The remaining calculation time for the nth charging cycle, T n Represents the true remaining time series T N The nth actual remaining time.
[0038] Optionally, the variance of the error is calculated based on the interval points between multiple remaining charging calculation times in the remaining charging calculation time series, which is used to reflect the degree of dispersion of the error distribution. The smaller the value of the remaining charging time estimate, the higher the stability of the calculation result. (The variance of the error is also considered.) The following methods can be used to determine this:
[0039]
[0040] Alternatively, the error sequence E can be fitted with a cubic polynomial. n =T n -R n With the nth time series S n The relational expression is used to obtain the error convergence characteristic. . f E should be satisfied n With S n The trend is characterized by an increase while a decrease or no change (i.e., error convergence).
[0041] Optionally, the average error reflects the overall accuracy of the target charging remaining time determination model in predicting the remaining charging time. A lower average error indicates that the model can accurately predict the remaining charging time, while a higher average error means there is a large deviation in the prediction, and the model may need further optimization to improve prediction accuracy. The error variance reflects the fluctuation of the prediction error for the remaining charging time, i.e., the stability of the model's prediction results. If the error variance is high, even if the average error is small, it indicates that the model's prediction results fluctuate greatly under different conditions, making it difficult to guarantee similar accuracy for each user, thus reducing the consistency and stability of the prediction results. The error convergence characteristic reflects how the model's predictive ability changes with the charging process, i.e., whether the model can effectively adapt to different stages of the charging process. Good error convergence characteristics indicate that the model can continuously adjust and optimize the prediction results over time, making them increasingly closer to the actual value. By analyzing the average error, error variance, and error convergence characteristics, the performance of the target charging remaining time determination model in predicting the remaining battery charging time can be comprehensively tested. This test can examine its accuracy, stability, and convergence ability, which helps to identify prediction biases and optimize the model.
[0042] Optionally, the first detection result includes passing and failing. Passing the detection indicates that the performance of the target remaining charging time determination model meets the requirements, and the calculated remaining charging time obtained using it has high accuracy. Conversely, failing the detection indicates that the performance of the target remaining charging time determination model does not meet the requirements, and the calculated remaining charging time obtained using it has a large error and insufficient accuracy. After obtaining the average error, error variance, and error convergence characteristics of any remaining charging time series, the first detection result can be obtained as follows: Set an average error threshold and an error variance threshold, and compare the average error with the average error threshold and the error variance with the error variance threshold. If the average error is less than the average error threshold, the error variance is less than the error variance threshold, and the error convergence characteristics indicate error convergence, the first detection result is considered passing; otherwise, the first detection result is considered failing.
[0043] In one optional embodiment, based on multiple charging remaining display time series, a second detection result corresponding to each of the multiple charging remaining display time series is obtained, including: for any charging remaining display time series among the multiple charging remaining display time series, determining the weighted average error of any charging remaining display time series based on any charging remaining display time series and the actual remaining time series corresponding to any charging remaining display time series; determining the time lead rate of any charging remaining display time series based on any charging remaining display time series, the actual remaining time series corresponding to any charging remaining display time series, and a second number of multiple charging remaining display times included in any charging remaining display time series; determining the smoothness and monotonically decreasing nature of any charging remaining display time series based on the multiple charging remaining display times included in any charging remaining display time series; determining the second detection result of any charging remaining display time series based on the weighted average error, time lead rate, smoothness, and monotonically decreasing nature; and obtaining the second detection result corresponding to each of the multiple charging remaining display time series by using the method of determining the second detection result of any charging remaining display time series.
[0044] It is understood that the second detection includes the detection of weighted average error, time lead rate, smoothness, and monotonically decreasing property. For any remaining charging time series among multiple remaining charging time series, the weighted average error of any remaining charging time series is calculated based on the given remaining charging time series and the corresponding actual remaining charging time series. Based on the given remaining charging time series, the corresponding actual remaining charging time series, and a second number of remaining charging times included in the given remaining charging time series, the time lead rate of the given remaining charging time series is calculated. Based on the multiple remaining charging times included in the given remaining charging time series, the smoothness and monotonically decreasing property of the given remaining charging time series are analyzed. Based on the weighted average error, time lead rate, smoothness, and monotonically decreasing property of any remaining charging time series, the second detection result of any remaining charging time series is obtained. Using the method of obtaining the second detection result of any remaining charging time series, the second detection results corresponding to multiple remaining charging time series are obtained respectively. The determination of the second detection result can identify problems in the target charging remaining time determination model at the user experience level, provide guidance for the continuous optimization of the target charging remaining time determination model, and ensure the high accuracy and high availability of the charging remaining display time determination result.
[0045] Optionally, for the remaining charging display time D, in addition to considering the calculation accuracy, user experience should also be taken into account. Therefore, it can be evaluated from the dimensions of weighted average error, time lead rate, and reasonableness verification (including verification smoothness and monotonically decreasing property).
[0046] Optionally, the average error considering the gain coefficient (i.e., the weighted average error) is calculated. Since users pay more attention to the beginning and end of the charging process, the calculation weight (i.e., the gain coefficient) needs to be increased at these stages. Data points obtained in the first five minutes and the last five minutes of charging can be multiplied by a gain coefficient of 2, while other time periods retain the default value of 1. Based on the above analysis, the weighted average error... The following methods can be used to determine this:
[0047]
[0048] The smaller the value, the higher the accuracy of the remaining charging time estimate.
[0049] Optionally, the time advance rate is obtained by statistically analyzing the percentage of data where the displayed charging time is less than the actual remaining time. Table 1 shows the displayed charging time, the actual remaining time, and the difference. The difference K=DT is the ratio of the percentage of times the displayed charging time is less than 0 (i.e., the first preset threshold) to the total number of displayed charging times N (i.e., the second number).q This is the time lead rate, expressed as a percentage. q The lower the value, the less likely the displayed remaining charging time will time out and the actual remaining time will be exceeded, resulting in a better user experience.
[0050] Table 1. Displayed and Actual Remaining Charging Time (Table 1)
[0051]
[0052] Optionally, the remaining charging display time D is validated for reasonableness. To improve user experience, the remaining charging display time D should not exhibit abrupt changes or remain unchanged over time. Therefore, it is verified that the absolute magnitude of the change (i.e., the absolute value of the difference) between adjacent points (i.e., adjacent remaining charging display times) must not exceed a threshold X (i.e., smoothness verification), and the difference between adjacent points (i.e., adjacent remaining charging display times) (i.e., the difference between the next adjacent remaining charging display time and the previous adjacent remaining charging display time) should not be greater than 0 (i.e., monotonically decreasing verification). Table 2 shows the reasonableness verification process for the remaining charging display time series. Wherein, D... n The remaining charge is displayed in time series D. N The remaining charging time displayed for the nth charging cycle, r n This represents the absolute value of the difference between the remaining display time for the nth charge and the remaining display time for the (n+1)th charge. l n Let r represent the difference between the remaining display time for the nth charge and the remaining display time for the (n+1)th charge. To ensure the remaining display time, improve user experience, and align with the user's intuitive understanding of the charging process, r is required to... n Less than or equal to 120 seconds l n Less than 0.
[0053] Table 2. Reasonableness Verification Process of the Remaining Charging Display Time Series
[0054]
[0055] Optionally, the weighted average error can more accurately reflect the prediction error at time points of high user interest, helping to assess the performance of the target remaining charging time determination model at key time points. A lower weighted average error means the model's predictions at key time points are more accurate, improving the user experience. A low time lead rate means fewer instances of premature prediction, resulting in predictions closer to the true value and increasing the reliability of the predictions. Ensuring smoothness and monotonically decreasing time helps provide more reasonable, consistent, and easily understandable predictions of remaining charging time, enhancing the user experience. High smoothness means the target remaining charging time determination model can make gradual adjustments to its predictions based on subtle changes in battery status and environmental conditions. For users, this smooth change is more intuitive and easier to accept, further improving the user experience. A monotonically decreasing remaining charging time aligns with users' intuitive understanding of charging progress, enhancing the reasonableness and credibility of the target remaining charging time determination model's predictions. By using weighted average error, time lead rate, smoothness, and monotonically decreasing properties, the performance of the target charging remaining time determination model in predicting the remaining charging display time can be comprehensively tested, especially its performance in improving user experience.
[0056] Optionally, the second detection result includes passing and failing the detection. Passing the detection indicates that the performance of the target remaining charging time determination model meets the requirements, and the remaining charging time displayed using it has high accuracy and user satisfaction. Conversely, failing the detection indicates that the performance of the target remaining charging time determination model does not meet the requirements, and the remaining charging time displayed using it has large errors and poor user satisfaction. After obtaining the weighted average error, time lead rate, smoothness, and monotonically decreasing property of any remaining charging time series, the second detection result can be obtained as follows: Set a weighted average error threshold and a time lead rate threshold, and compare the weighted average error with the weighted average error threshold and the time lead rate with the time lead rate threshold. If the weighted average error is less than the weighted average error threshold, the time lead rate is less than the time lead rate threshold, the smoothness meets the requirements, and the monotonically decreasing property meets the strict monotonically decreasing property (i.e., the difference between the next adjacent remaining charging time and the previous adjacent remaining charging time is less than 0), the second detection result is considered passing; otherwise, the second detection result is considered failing.
[0057] In one optional embodiment, determining the weighted average error of any remaining charging time series based on any remaining charging time series and the corresponding actual remaining charging time series includes: determining the gain coefficients corresponding to the multiple remaining charging times included in the remaining charging time series; and determining the weighted average error based on the remaining charging time series, the corresponding actual remaining charging time series, and the gain coefficients corresponding to the multiple remaining charging times.
[0058] It can be understood that any remaining charging time display time series includes multiple remaining charging time displays. Gain coefficients are determined for each of these multiple remaining charging time displays. Based on this given remaining charging time series, the corresponding actual remaining charging time series, and the gain coefficients for each of the multiple remaining charging time displays, a weighted average error is calculated for each remaining charging time series. These gain coefficients are used to adjust the weights of different charging stages to reflect the user's level of attention to different charging stages of the target battery. By introducing gain coefficients and a weighted average error, the prediction performance of the target remaining charging time determination model can be specifically optimized for charging stages with high user attention, thereby comprehensively improving the accuracy of remaining charging time prediction results from both a technical and user experience perspective.
[0059] In one optional embodiment, determining the time lead rate of any remaining charging display time series based on any remaining charging display time series, the corresponding actual remaining time series, and a second number of multiple remaining charging display times included in any remaining charging display time series includes: obtaining multiple differences based on the multiple remaining charging display times included in any remaining charging display time series and the multiple actual remaining times included in the corresponding actual remaining time series, wherein the multiple remaining charging display times correspond one-to-one with the multiple actual remaining times, and the multiple remaining charging display times correspond one-to-one with the multiple differences; determining the number of differences among the multiple differences that are less than a first preset threshold; and determining the time lead rate based on the number of differences and the second number.
[0060] It can be understood that multiple remaining charging display times included in any remaining charging time series are subtracted from their corresponding actual remaining times to obtain multiple difference values. These differences are then compared to a first preset threshold (e.g., 0), and based on the comparison results, the number of differences less than the first preset threshold is determined. The ratio between this number of differences and a second number of remaining charging display times included in any remaining charging time series is the time lead rate of that remaining charging time series. The time lead rate detects the degree to which the remaining charging time predicted by the target remaining charging time determination model is ahead of the actual remaining time, thereby identifying and correcting defects that may cause the target remaining charging time determination model to predict too early, thus improving the prediction accuracy of the remaining charging time.
[0061] Step S104: If the target detection result indicates that the detection has passed, collect the operating status data of the target battery and the target charging environment data of the target battery.
[0062] It is understandable that if the target detection result of the target charging remaining time determination model indicates that the detection has passed, the operating status data and target charging environment data of the target battery of the same type as the test battery will be collected. By collecting the operating status data and target charging environment data of the target battery, a data foundation is laid for predicting the remaining charging display time of the target battery.
[0063] In an optional embodiment, if the target detection result indicates that the detection has failed, the method further includes: correcting the target remaining charging time determination model based on the target detection result to obtain an updated remaining charging time determination model; detecting the updated remaining charging time determination model using multiple updated remaining charging calculation time series and multiple updated remaining charging display time series to obtain an updated detection result for the updated remaining charging time determination model, wherein the multiple updated remaining charging calculation time series and multiple updated remaining charging display time series are obtained by testing the battery and using the updated remaining charging time determination model under multiple charging environments; if the updated detection result indicates that the detection has passed, determining the updated remaining charging time determination model as the target remaining charging time determination model; or, if the updated detection result indicates that the detection has failed, correcting the updated remaining charging time determination model by correcting the target remaining charging time determination model until the detection passes, and determining the remaining charging time determination model obtained when the detection passes as the target remaining charging time determination model.
[0064] It is understandable that if the target detection result of the target remaining charging time determination model indicates that the detection has passed, it means that the predictive ability of the target remaining charging time determination model has a deviation and needs to be corrected. The target remaining charging time determination model is corrected in the following way: First, based on the target detection result, analyze in which aspects the target remaining charging time determination model performs poorly, and then correct the target remaining charging time determination model to obtain an updated remaining charging time determination model. Using the updated remaining charging time determination model, charge tests are conducted on the test battery under multiple charging environments, and the remaining charging calculation time and remaining charging display time are collected, resulting in multiple updated remaining charging calculation time series and multiple updated remaining charging display time series. Using the same method as the target remaining charging time determination model, the updated remaining charging time determination model is tested using multiple updated remaining charging calculation time series and multiple updated remaining charging display time series, obtaining an updated detection result for the updated remaining charging time determination model. If the updated detection result indicates that the detection has passed, the updated remaining charging time determination model is determined as the target remaining charging time determination model, and thus the remaining charging display time of the target battery is determined. If the updated detection result indicates a failure, the updated remaining charging time determination model is continuously revised until the detection result of the new model indicates a successful detection. The remaining charging time determination model obtained when the detection is successful is then designated as the target remaining charging time determination model. By continuously adjusting and optimizing the target remaining charging time determination model until its prediction results meet high-standard detection conditions, the prediction accuracy of the target remaining charging time determination model is gradually improved, thereby enhancing the accuracy of the remaining charging time display result for the target battery.
[0065] Optionally, the modification of the target charging remaining time determination model may include, but is not limited to: adjusting the parameters of the target charging remaining time determination model, such as the learning rate and weights; improving the data preprocessing method to ensure the quality and applicability of the input data; and optimizing the model architecture, such as introducing more complex data structures to handle the nonlinear characteristics of the battery charging process.
[0066] Step S106: Based on the operating status data and the target charging environment data, the target charging remaining time determination model is used to obtain the target battery's remaining charging display time, where the remaining charging display time refers to the remaining charging time required to charge the target battery displayed to the user.
[0067] It is understandable that by collecting data on the operating status of the target battery and the target charging environment, the accuracy of the remaining charging time calculation can be improved, thereby improving the accuracy of the remaining charging time display.
[0068] In one optional embodiment, based on operating status data and target charging environment data, a target charging remaining time determination model is used to obtain the remaining charging display time of the target battery. This includes: a charging remaining calculation time determination module based on operating status data and target charging environment data, using the target charging remaining time determination model, to obtain the remaining charging calculation time of the target battery, wherein the remaining charging calculation time refers to the predicted remaining charging time required by the target battery; and a charging remaining display time determination module based on the remaining charging calculation time, using the target charging remaining time determination model, to obtain the remaining charging display time of the target battery.
[0069] It is understandable that, based on the target battery's operating status data and target charging environment data, the remaining charging time calculation module of the target charging remaining time determination model obtains the target battery's remaining charging display time. Then, based on the remaining charging display time, the remaining charging display time determination module of the same model obtains the target battery's remaining charging display time. By collecting the target battery's operating status data and target charging environment data, the accuracy of the remaining charging time calculation result can be improved, thereby improving the accuracy of the remaining charging display time determination result. Simultaneously, by converting the remaining charging time calculation result into the remaining charging display time, the remaining charging display time received by the user is more reasonable, contributing to improved user satisfaction and user experience.
[0070] Through the above steps S102 to S106, the target charging remaining time determination model can be tested under multiple charging environments. If the test is passed, the remaining charging display time can be obtained by using the target charging remaining time determination model based on the target battery's operating status data and target charging environment data. This achieves the technical effect of improving the accuracy of the battery charging remaining display time determination result, thereby solving the technical problem of inaccurate battery charging remaining display time determination result in related technologies.
[0071] Based on the above embodiments and optional embodiments, this application proposes an implementation method for determining the remaining charging time of a battery. This implementation method can be understood as a battery charging time testing and evaluation method. By evaluating the remaining charging time of the battery, including the calculated time series of the remaining charge of the battery and the displayed time series of the remaining charging time, the target charging time determination model is detected, and the prediction deviation of the target charging time determination model is identified. This facilitates the optimization of the target charging time determination model and ultimately improves the accuracy of the determination result of the remaining charging time of the target battery.
[0072] With the increasing popularity of electric vehicles, users' demands for battery charging-related user experience are rising. The accuracy of remaining charging time estimation is particularly important. Using appropriate testing and evaluation methods to test the remaining charging time prediction performance of the target remaining charging time determination model can help improve the accuracy of the target remaining charging time determination model based on the remaining charging time estimation algorithm and the charging user experience.
[0073] The steps involved in testing and evaluating battery charge remaining time include:
[0074] Step S1, the test environment conditions (i.e., one of multiple charging environments) are: room temperature 25 (±3) degrees, relative humidity controlled at 15%-90%, and atmospheric pressure controlled at 86kPa-106kPa.
[0075] Step S2: The environmental chamber is equipped with a properly functioning charging pile (DC or AC) and its power supply equipment. Select an electric vehicle in good condition (i.e., the vehicle testing the battery) to discharge to the lower limit of the allowable discharge SOC, and leave the electric vehicle idle for a sufficient period of time.
[0076] Step S3: The electric vehicle connects to the data acquisition device. From the moment the charging conditions between the charging pile and the electric vehicle are established and charging begins, the remaining charging time is recorded in real time. Data such as battery faults and charging status are collected and tested. The remaining charging time calculation value signal (i.e., remaining charging calculation time) and the remaining charging time display value signal (i.e., remaining charging display time) are recorded every second.
[0077] Step S4: Continue charging and data logging until the maximum allowable SOC is reached.
[0078] Step S5: Data validity verification. If charging is interrupted due to test battery failure, abnormal charging status, or other reasons during the charging process, the data recorded for this charging test is discarded, and the charging test is restarted. If no test battery failure, abnormal charging status, or other reasons cause the charging to be interrupted during the entire charging process, the remaining charging time is evaluated.
[0079] Step S6: Extract the remaining charging calculation time R, remaining charging display time D, time series S, and actual remaining time T from step S3 at 10-second intervals (record the first recorded actual time point as 0 to obtain time series S, then reverse the order to obtain the actual remaining charging time T). Time intervals of less than 10 seconds between charging cutoff sampling points are also counted as independent data points, resulting in three data sequences from 0 to N, i.e., the remaining charging calculation time series R. N Remaining charge display time series D N and the actual remaining time series T N .
[0080] Step S7: For the remaining charging time R, evaluate it from three dimensions: time average error, error variance, and error convergence characteristics, and then detect the accuracy of the target remaining charging time determination model based on the remaining charging time estimation algorithm.
[0081] Step S71: The average error is obtained by summing the absolute values of the differences between the calculated remaining charging time and the corresponding actual remaining time, and then taking the average. The smaller the average error e, the higher the accuracy of the estimated remaining charging time. The method for determining the average error e is the same as in the above embodiment, and will not be repeated here.
[0082] Step S72: Calculate the variance of the error based on the interval points between multiple remaining charging calculation times in the remaining charging calculation time series. This variance reflects the degree of dispersion of the error distribution. The smaller the value of the remaining charging time estimate, the higher the stability of the calculation result. (The variance of the error is also considered.) The method for determining the value is the same as in the above embodiments, and will not be repeated here.
[0083] Step S73, fit the error sequence E using a cubic polynomial. n =T n -R n With the nth time series S n The relational expression is used to obtain the error convergence characteristic. . f E should be satisfied n With S n The trend is characterized by an increase while a decrease or no change (i.e., error convergence).
[0084] Step S8: Regarding the remaining charging display time D, in addition to considering the accuracy of the calculation, user experience should also be taken into account. Therefore, the evaluation is carried out from the dimensions of weighted average error, time lead rate, and reasonableness verification (including verification smoothness and monotonically decreasing property).
[0085] Step S81: Calculate the average error considering the gain coefficient (i.e., the weighted average error). Since users pay more attention to the beginning and end of the charging process, the calculation weight (i.e., the gain coefficient) needs to be increased at this stage. Data points obtained in the first five minutes and the last five minutes of charging can be multiplied by a gain coefficient of 2, while other time periods remain at the default value of 1. Based on the above analysis, the weighted average error... The method for determining the value is the same as in the above embodiments, and will not be repeated here. The smaller the value, the higher the accuracy of the remaining charging time estimate.
[0086] Step S82: The time lead time rate is obtained by statistically analyzing the percentage of data where the displayed charging time is less than the actual remaining time. Table 1 shows the displayed charging time, the actual remaining time, and the difference. The difference K = DT less than 0 (i.e., the first preset threshold) is the ratio of the total number of displayed charging times N (i.e., the second number). q This is the time lead rate, expressed as a percentage. q The lower the value, the less likely the displayed remaining charging time will time out and the actual remaining time will be exceeded, resulting in a better user experience.
[0087] Step S83, Reasonableness Verification of Remaining Charging Time Display Time D. To improve user experience, the remaining charging time display time D should not exhibit abrupt changes or remain constant over time. Therefore, it is verified that the absolute magnitude of the change (i.e., the absolute value of the difference) between adjacent points (i.e., adjacent remaining charging times) must not exceed the threshold X (i.e., smoothness verification), and the difference between adjacent points (i.e., adjacent remaining charging times) (i.e., the difference between the next adjacent remaining charging time and the previous adjacent remaining charging time) should not be greater than 0 (i.e., monotonically decreasing verification). Table 2 shows the reasonableness verification process for the remaining charging time display sequence. Wherein, D... n The remaining charge is displayed in time series D. N The remaining charging time displayed for the nth charging cycle, r n This represents the absolute value of the difference between the remaining display time for the nth charge and the remaining display time for the (n+1)th charge. l n Let r represent the difference between the remaining display time for the nth charge and the remaining display time for the (n+1)th charge. To ensure the remaining display time, improve user experience, and align with the user's intuitive understanding of the charging process, r is required to... n Less than or equal to 120 seconds l n Less than 0.
[0088] Step S9: Set up the environmental chamber according to the following temperature conditions (i.e., multiple charging environments), and under the test conditions of each charging environment, repeat steps S2-S8 to perform charging tests on the test battery, and evaluate the obtained charging remaining calculation time series and charging remaining display time series, thereby obtaining multiple first detection results and multiple second detection results of the target charging remaining time determination model in multiple charging environments, and finally obtaining the target detection result of the target charging remaining time determination model.
[0089] a) The temperature condition is a low temperature of 0 (±3) degrees;
[0090] b) The temperature condition is a high temperature of 45 (±3) degrees;
[0091] c) Temperature conditions are historical temperature curves for typical daytime periods in spring in the region where the electric vehicle is located;
[0092] d) Temperature conditions are historical temperature curves for typical nighttime periods in spring in the region where the electric vehicle is located;
[0093] e) Temperature conditions are historical summer daytime temperature curves for the region where the electric vehicle is located;
[0094] f) Temperature conditions are historical summer nighttime temperature curves for the region where the electric vehicle is located.
[0095] g) Temperature conditions are historical autumn daytime temperature curves for the region where the electric vehicle is located.
[0096] h) Temperature conditions are historical autumn nighttime temperature curve data for the region where the electric vehicle is located;
[0097] i) Temperature conditions are historical winter daytime temperature curves for the region where the electric vehicle is located.
[0098] j) Temperature conditions are historical winter nighttime temperature curve data for the region where the electric vehicle is located.
[0099] The above optional implementation methods achieve at least the following effects: By designing a complete charging remaining time testing and evaluation process, the accuracy of the target charging remaining time determination model based on the charging remaining time estimation algorithm can be detected, and its user experience can also be evaluated; by evaluating the charging remaining time calculation time and the charging remaining time display time separately, not only can the accuracy of the target charging remaining time determination model be detected, but also the user experience of the target charging remaining time determination model can be detected, thus improving the comprehensiveness of the test results; by testing the target charging remaining time determination model in multiple charging environments, the generalization ability and practicality of the target charging remaining time determination model can be enhanced.
[0100] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0101] This embodiment also provides a battery charging remaining time display device, which is used to implement the above embodiments and preferred embodiments, and will not be repeated as already described. As used below, the terms "module" and "device" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0102] According to an embodiment of this application, an apparatus embodiment for implementing a method for determining the remaining charging display time of a battery is also provided. Figure 2 This is a schematic diagram of a battery charging remaining display time determination device according to an embodiment of this application, as shown below. Figure 2 As shown, the battery charging remaining display time determination device includes a detection module 202, a data acquisition module 204, and a charging remaining display time determination module 206. The device will be described below.
[0103] The detection module 202 is used to detect the target charging remaining time determination model using multiple charging remaining calculation time series and multiple charging remaining display time series, and obtain the target detection result of the target charging remaining time determination model. The multiple charging remaining calculation time series are obtained by the charging remaining calculation time determination module of the target charging remaining time determination model using the test battery in multiple charging environments, and the multiple charging remaining display time series are obtained by the charging remaining display time determination module of the target charging remaining time determination model using the test battery in multiple charging environments. The multiple charging environments correspond one-to-one with the multiple charging remaining calculation time series, and the multiple charging remaining calculation time series correspond one-to-one with the multiple charging remaining display time series.
[0104] The data acquisition module 204, connected to the detection module 202, is used to acquire the operating status data and target charging environment data of the target battery when the target detection result indicates that the detection has passed.
[0105] The charging remaining display time determination module 206 is connected to the data acquisition module 204. It is used to determine the charging remaining display time of the target battery based on the operating status data and the target charging environment data, using the target charging remaining time determination model. The charging remaining display time refers to the remaining charging time required to charge the target battery displayed to the user.
[0106] The battery charging remaining display time determination device provided in this application embodiment, by setting up a detection module 202, a data acquisition module 204, and a charging remaining display time determination module 206, achieves the technical effect of improving the accuracy of the battery charging remaining display time determination result, thereby solving the technical problem of inaccurate battery charging remaining display time determination results in related technologies.
[0107] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0108] It should be noted that the detection module 202, data acquisition module 204, and charging remaining display time determination module 206 mentioned above correspond to steps S102 to S106 in the embodiments. The instances and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the content disclosed in the above embodiments. It should be noted that the above modules, as part of the device, can run in a computer terminal.
[0109] It should be noted that the optional or preferred implementation methods of this embodiment can be found in the relevant descriptions in the embodiments, and will not be repeated here.
[0110] The battery remaining charging time determination device may also include a processor and a memory. The detection module 202, data acquisition module 204, and remaining charging time determination module 206 are all stored as program units in the memory, and the processor executes the program units stored in the memory to realize the corresponding functions.
[0111] The processor contains a core that retrieves the corresponding program unit from memory. One or more cores may be configured. Memory may include non-persistent memory in computer-readable media, random access memory (RAM), and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory includes at least one memory chip.
[0112] This application provides a non-volatile storage medium storing a program that, when executed by a processor, implements a method for determining the remaining display time of battery charging.
[0113] This application provides an electronic device, including a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs the following steps: detecting a target remaining charging time determination model using multiple remaining charging time calculation time series and multiple remaining charging time display time series, obtaining a target detection result for the target remaining charging time determination model. The multiple remaining charging time calculation time series are obtained by a module for determining the remaining charging time of the target charging time determination model under multiple charging environments, and the multiple remaining charging time display time series are obtained by a module for determining the remaining charging time of the target charging time determination model under multiple charging environments. Each charging environment corresponds one-to-one with each of the multiple remaining charging time series and each of the multiple remaining charging time series corresponds one-to-one with each of the multiple remaining charging time display time series. If the target detection result indicates that the detection has passed, the device collects the target battery's operating status data and the target charging environment data. Based on the operating status data and the target charging environment data, the device uses the target remaining charging time determination model to obtain the target battery's remaining charging time display time, where the remaining charging time display time refers to the remaining charging time required to charge the target battery, as shown to the user. The device in this document can be a server, PC, etc.
[0114] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program with the following method steps: detecting a target remaining charging time determination model using multiple remaining charging time calculation time series and multiple remaining charging display time series to obtain a target detection result for the target remaining charging time determination model. The multiple remaining charging time calculation time series are obtained by a module for determining the remaining charging time of the target charging time determination model under multiple charging environments, and the multiple remaining charging display time series are obtained by a module for determining the remaining charging time of the target charging time determination model under multiple charging environments. Each charging environment corresponds one-to-one with each of the multiple remaining charging time series and each remaining charging time series corresponds one-to-one with each remaining charging display time series. If the target detection result indicates that the detection has passed, the operating status data and target charging environment data of the target battery are collected. Based on the operating status data and target charging environment data, the target remaining charging time determination model is used to obtain the remaining charging display time of the target battery, where the remaining charging display time refers to the remaining charging time required for the target battery to be charged, as displayed to the user.
[0115] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0116] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0117] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0118] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0119] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0120] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, like read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0121] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0122] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0123] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0124] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for determining the remaining charging time of a battery, characterized in that, include: The target remaining charging time determination model is tested using multiple remaining charging time calculation time series and multiple remaining charging time display time series to obtain the target detection result of the target remaining charging time determination model. The multiple remaining charging time calculation time series are obtained by the test battery using the remaining charging time calculation time determination module of the target remaining charging time determination model under multiple charging environments. The multiple remaining charging time display time series are obtained by the test battery using the remaining charging time display time determination module of the target remaining charging time determination model under multiple charging environments. The multiple charging environments correspond one-to-one with the multiple remaining charging time series, and the multiple remaining charging time series correspond one-to-one with the multiple remaining charging time display time series. If the target detection result indicates that the detection has passed, the operating status data of the target battery and the target charging environment data of the target battery are collected. Based on the operating status data and the target charging environment data, the remaining charging time of the target battery is determined using the target charging remaining time determination model. The remaining charging display time refers to the remaining charging time required to charge the target battery, which is displayed to the user.
2. The method according to claim 1, characterized in that, The method of using multiple remaining charging time series calculations and multiple remaining charging time series to detect the target remaining charging time determination model, and obtaining the target detection result of the target remaining charging time determination model, includes: Based on the multiple remaining charging time series, the first detection result corresponding to each of the multiple remaining charging time series is obtained; Based on the multiple charging remaining display time series, a second detection result corresponding to each of the multiple charging remaining display time series is obtained; The target detection result is obtained based on the first detection result corresponding to the multiple charging remaining calculation time series and the second detection result corresponding to the multiple charging remaining display time series.
3. The method according to claim 2, characterized in that, The step of obtaining the first detection result corresponding to each of the multiple remaining charging time series includes: For any one of the multiple remaining charging time series, the average error of the remaining charging time series is determined based on the any one remaining charging time series, the actual remaining time series corresponding to the any one remaining charging time series, and the first number of multiple remaining charging time series included in the any one remaining charging time series. Based on any remaining charging time series, the actual remaining charging time series corresponding to any remaining charging time series, and the average error, the error variance of any remaining charging time series is determined. Based on any remaining charging time series and the corresponding actual remaining charging time series, the error convergence characteristic of any remaining charging time series is obtained, wherein the error convergence characteristic is used to describe the variation characteristic of the error between the remaining charging time and the actual remaining time with charging time. Based on the average error, the error variance, and the error convergence characteristics, a first detection result is determined for any remaining charging time series. The first detection results corresponding to the plurality of charging remaining calculation time series are obtained by determining the first detection result of any one of the charging remaining calculation time series.
4. The method according to claim 2, characterized in that, The step of obtaining the second detection result corresponding to each of the multiple charging remaining display time series includes: For any one of the multiple charging remaining display time series, the weighted average error of the charging remaining display time series is determined based on the charging remaining display time series and the actual remaining time series corresponding to the charging remaining display time series. Based on any charging remaining display time series, the actual remaining time series corresponding to any charging remaining display time series, and a second number of multiple charging remaining display times included in any charging remaining display time series, the time advance rate of any charging remaining display time series is determined. Based on the multiple remaining charging display times included in any remaining charging display time series, determine the smoothness and monotonically decreasing nature of any remaining charging display time series. Based on the weighted average error, the time lead rate, the smoothness, and the monotonically decreasing property, a second detection result is determined for any remaining charging display time series. The second detection results corresponding to the plurality of charging remaining display time series are obtained by determining the second detection result of any one of the charging remaining display time series.
5. The method according to claim 4, characterized in that, The step of determining the weighted average error of any remaining charging time series based on any remaining charging time series and the corresponding actual remaining charging time series includes: Determine the gain coefficients corresponding to the multiple remaining charging display times included in any given charging remaining display time sequence; The weighted average error is determined based on any of the remaining charging time series, the actual remaining charging time series corresponding to any of the remaining charging time series, and the gain coefficients corresponding to the multiple remaining charging time series.
6. The method according to claim 4, characterized in that, The step of determining the time advance rate of any remaining charging time series based on any remaining charging time series, the actual remaining time series corresponding to any remaining charging time series, and a second number of multiple remaining charging times included in any remaining charging time series includes: Based on the multiple remaining charging times included in any given charging remaining display time sequence, and the multiple real remaining times included in the corresponding real remaining time sequence, multiple differences are obtained, wherein the multiple remaining charging times correspond one-to-one with the multiple real remaining times, and the multiple remaining charging times correspond one-to-one with the multiple differences. Determine the number of differences among the plurality of differences that are less than a first preset threshold; The time lead rate is determined based on the difference quantity and the second quantity.
7. The method according to claim 1, characterized in that, If the target detection result indicates that the detection failed, the method further includes: Based on the target detection results, the target charging remaining time determination model is corrected to obtain an updated charging remaining time determination model. The updated charging remaining time determination model is tested using multiple updated charging remaining calculation time series and multiple updated charging remaining display time series to obtain the update detection result of the updated charging remaining time determination model. The multiple updated charging remaining calculation time series and multiple updated charging remaining display time series are obtained by the test battery under multiple charging environments using the updated charging remaining time determination model. If the updated detection result indicates that the detection passed, the updated remaining charging time determination model is determined as the target remaining charging time determination model; or, If the updated detection result indicates that the detection has failed, the updated remaining charging time determination model is modified by revising the target remaining charging time determination model until the detection passes, and the remaining charging time determination model obtained when the detection passes is determined as the target remaining charging time determination model.
8. The method according to any one of claims 1 to 7, characterized in that, The step of obtaining the remaining charging display time of the target battery based on the operating status data and the target charging environment data, using the target charging remaining time determination model, includes: Based on the operating status data and the target charging environment data, the remaining charging calculation time determination module of the target charging remaining time determination model is used to obtain the remaining charging calculation time of the target battery, wherein the remaining charging calculation time refers to the predicted remaining charging time required by the target battery. Based on the remaining charging time, the remaining charging time of the target battery is obtained by using the remaining charging time determination module of the target remaining charging time determination model.
9. A device for determining the remaining charging time of a battery, characterized in that, include: The detection module is used to detect the target remaining charging time determination model using multiple remaining charging time calculation time series and multiple remaining charging time display time series, and obtain the target detection result of the target remaining charging time determination model. The multiple remaining charging time calculation time series are obtained by the test battery using the remaining charging time calculation time determination module of the target remaining charging time determination model under multiple charging environments. The multiple remaining charging time series are obtained by the test battery using the remaining charging time display time determination module of the target remaining charging time determination model under multiple charging environments. The multiple charging environments correspond one-to-one with the multiple remaining charging time series, and the multiple remaining charging time series correspond one-to-one with the multiple remaining charging time display time series. The data acquisition module is used to acquire the operating status data of the target battery and the target charging environment data of the target battery when the target detection result indicates that the detection has passed. The remaining charging display time determination module is used to determine the remaining charging display time of the target battery based on the operating status data and the target charging environment data, using the target remaining charging time determination model. The remaining charging display time refers to the remaining charging time required to charge the target battery, which is displayed to the user.
10. A non-volatile storage medium, characterized in that, The non-volatile storage medium stores multiple instructions adapted for loading and execution by a processor of the battery charging remaining display time determination method according to any one of claims 1 to 8.
11. An electronic device, characterized in that, include: One or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the method for determining the remaining charging display time of a battery as described in any one of claims 1 to 8.