Remaining charging time estimation method, device and electronic device
Through multi-path division and model training of the battery charging process, the charging time is dynamically calculated, which solves the problem of low estimation accuracy in the existing technology and achieves a more accurate prediction of the remaining charging time.
Patent Information
- Application Number
- CN202410719226.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-06-05
AI Technical Summary
Existing remaining charging time estimation methods are based on fixed models and parameters, which are difficult to adapt to factors such as battery aging and ambient temperature changes, resulting in low estimation accuracy.
By collecting historical charging data of vehicles, the overall charging process is divided into multiple charging paths, feature data is extracted and a time estimation model is trained, charging time is dynamically calculated, and the model is continuously updated to improve estimation accuracy.
Significantly improves the estimation accuracy of remaining charging time, adapts to battery aging and environmental changes, and optimizes the performance of the battery management system.
Smart Images

Figure CN118294818B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of charging estimation, and in particular to a method, device and electronic device for estimating remaining charging time. Background Art
[0002] With the rapid development of electric vehicle technology, power batteries are one of its core components. The performance of the battery management system directly affects the efficiency and user experience of electric vehicles. The estimation of the remaining charging time (RCT) is an important function in the battery management system, which can help users arrange charging plans reasonably.
[0003] At present, the estimation of remaining charging time mainly relies on static battery models and simple linear or nonlinear regression methods. These methods are often based on standard charging curves under laboratory conditions, and estimate the remaining charging time by measuring parameters such as the battery's instantaneous voltage, current, and temperature. However, due to factors such as battery aging and ambient temperature changes, the accuracy of existing estimates based on fixed models and parameters is not high. Therefore, a solution that can improve the accuracy of remaining charging time estimation is urgently needed. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a remaining charging time estimation method, device and electronic device to improve the estimation accuracy of the remaining charging time.
[0005] In a first aspect, an embodiment of the present application provides a model training method, comprising:
[0006] Collect historical charging data of vehicles;
[0007] The overall charging process of the battery is divided into a plurality of charging paths, and feature extraction is performed according to the divided charging paths based on the historical charging data to obtain charging sample data of each charging path;
[0008] Using charging sample data of each charging path to train a preset time estimation model to obtain a trained remaining charging time estimation model;
[0009] The charging sample data includes sample characteristic data under the current charging path and a corresponding charging result label, and the charging result label includes charging time and charging temperature rise.
[0010] In the embodiment of the present application, by dividing the overall charging process into a superposition of multiple charging paths, the charging time of each charging path can be dynamically calculated, thereby improving the accuracy of the estimation of the remaining charging time.
[0011] In some possible embodiments, the sample characteristic data includes at least one of a charging path, a vehicle model, a charging type, an ambient temperature, an initial battery temperature, a battery health value, and a current matching degree;
[0012] The current matching degree is the ratio of the actual charging current of the battery to the charging request current of the battery under the corresponding charging path.
[0013] In an embodiment of the present application, by extracting one or more characteristic data of the charging path, vehicle model, charging type, ambient temperature, battery initial temperature, battery health value and current matching, the estimation accuracy of the remaining charging time can be further improved.
[0014] In some possible embodiments, after the charging sample data of each charging path is used to train the preset time estimation model to obtain the trained remaining charging time estimation model, the method further includes:
[0015] Continuously collect historical charging data of vehicles, and obtain updated charging sample data based on the newly collected historical charging data;
[0016] The remaining charging time estimation model is iteratively trained using the updated charging sample data according to a preset cycle.
[0017] In an embodiment of the present application, by continuously collecting charging data of various vehicles, updating sample data at a set period, and iteratively training the estimation model, the estimation accuracy of the remaining charging time can be further improved.
[0018] In a second aspect, an embodiment of the present application provides a method for estimating remaining charging time, including:
[0019] responding to a charging time estimation request of a target vehicle and acquiring charging characteristic data based on the charging time estimation request;
[0020] Determine a total charging path to be estimated corresponding to the charging time estimation request;
[0021] For each charging path corresponding to the total charging path to be estimated, based on the charging characteristic data, a pre-trained remaining charging time estimation model is used to sequentially obtain the charging time of each charging path;
[0022] Performing statistics based on the acquired charging time to obtain a remaining charging time estimation result corresponding to the charging time estimation request;
[0023] The pre-trained remaining charging time estimation model is obtained by training using any one of the model training methods; and the data items of the charging characteristic data correspond to the data items of the sample characteristic data.
[0024] In an embodiment of the present application, the charging time of each charging path is obtained by using a pre-trained model to calculate the overall remaining charging time, thereby improving the estimation accuracy of the remaining charging time.
[0025] In some possible embodiments, the charging characteristic data includes an initial battery temperature;
[0026] The method of sequentially acquiring the charging time of each charging path based on the charging characteristic data and using a pre-trained remaining charging time estimation model includes:
[0027] For each charging path corresponding to the total charging path to be estimated, based on the charging characteristic data, a pre-trained remaining charging time estimation model is used to sequentially obtain the charging temperature rise of each charging path;
[0028] Among them, the initial battery temperature of each charging path except the initial charging path is calculated based on the initial battery temperature and charging temperature rise of the previous charging path; the initial charging path is the first charging path corresponding to the total charging path to be estimated.
[0029] In the embodiment of the present application, the initial battery temperature of each charging path is determined according to the charging temperature rise of the previous charging path, so as to dynamically calculate the charging time of each charging path, thereby further improving the estimation accuracy of the remaining charging time.
[0030] In some possible embodiments, determining the total charging path to be estimated corresponding to the charging time estimation request includes:
[0031] Determine a starting power and a cut-off power based on the charging time estimation request, determine the starting charging path as the charging path corresponding to the starting power, determine the charging path corresponding to the cut-off power as the ending charging path, and determine the starting charging path, the ending charging path and the intermediate charging path as the total charging path to be estimated; wherein the intermediate charging path is the charging path between the starting charging path and the ending charging path;
[0032] The performing statistics based on the acquired charging time to obtain a remaining charging time estimation result corresponding to the charging time estimation request includes:
[0033] Determine a first charging time corresponding to the starting charging path based on the starting power, and determine a second charging time corresponding to the ending charging path based on the ending power;
[0034] Statistics are performed based on the first charging time, the second charging time, and the charging time corresponding to the intermediate charging path to obtain a remaining charging time estimation result corresponding to the charging time estimation request.
[0035] In the embodiment of the present application, the corresponding precise charging time is determined according to the proportion of the charging path where the starting power and the cut-off power are estimated according to the request, thereby further improving the accuracy of the estimation of the remaining charging time.
[0036] In some possible embodiments, responding to a charging time estimation request of a target vehicle and acquiring charging characteristic data based on the charging time estimation request includes:
[0037] In response to a charging time estimation request of a target vehicle, determining a current stabilization time of the target vehicle after the charging time estimation request is issued, and acquiring charging characteristic data of the target vehicle at the current stabilization time;
[0038] The current stabilization moment is the end time of the current stabilization window, and the current stabilization window is a preset time window in which the charging current is within a preset fluctuation range.
[0039] In an embodiment of the present application, when responding to a charging time estimation request, the accuracy of the remaining charging time estimation is further improved by determining whether the current is stable and making an estimation based on the charging characteristic data at the moment when the current is stable.
[0040] In some possible embodiments, after performing statistics based on the acquired charging time to obtain a remaining charging time estimation result corresponding to the charging time estimation request, the method further includes:
[0041] Acquire the current matching degree of the target vehicle during charging in real time; wherein the current matching degree is the ratio of the actual charging average current to the charging request average current in the preset time window;
[0042] When it is determined that the fluctuation of the current matching degree exceeds a preset matching degree fluctuation range, the charging characteristic data of the target vehicle at the moment of current fluctuation is re-acquired, and the remaining charging time estimation result is updated based on the charging characteristic data.
[0043] In the embodiment of the present application, the accuracy of the estimation of the remaining charging time is further improved by reacquiring the charging characteristic data and updating the estimation result when the current matching degree fluctuates greatly.
[0044] In a third aspect, an embodiment of the present application provides a model training device, comprising:
[0045] A data collection module, used to collect historical charging data of the vehicle;
[0046] A feature extraction module, used to divide the overall charging process of the battery into multiple charging paths, and perform feature extraction according to the divided charging paths based on the historical charging data, and sort out charging sample data of each charging path;
[0047] A model training module is used to train a preset time estimation model using charging sample data of each charging path to obtain a trained remaining charging time estimation model;
[0048] The charging sample data includes sample characteristic data under the current charging path and a corresponding charging result label, and the charging result label includes charging time and charging temperature rise.
[0049] In a fourth aspect, an embodiment of the present application provides a remaining charging time estimation device, comprising:
[0050] a data acquisition module, configured to respond to a charging time estimation request of a target vehicle and acquire charging characteristic data based on the charging time estimation request;
[0051] A path determination module, used to determine a total charging path to be estimated corresponding to the charging time estimation request;
[0052] A time estimation module, for obtaining the charging time of each charging path corresponding to the total charging path to be estimated, based on the charging characteristic data and using a pre-trained remaining charging time estimation model;
[0053] A time statistics module, used to perform statistics based on the acquired charging time to obtain a remaining charging time estimation result corresponding to the charging time estimation request;
[0054] The pre-trained remaining charging time estimation model is obtained by training using any one of the model training methods; and the data items of the charging characteristic data correspond to the data items of the sample characteristic data.
[0055] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor can implement the method described in any embodiment when executing the program.
[0056] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method described in any embodiment can be implemented.
[0057] In a seventh aspect, an embodiment of the present application provides a vehicle, comprising the electronic device described in the embodiment of the fifth aspect.
[0058] In an eighth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a computer program, wherein when the computer program is executed by a processor, the method described in any embodiment of the first aspect can be implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0060] Figure 1 A flowchart of a model training method provided in an embodiment of the present application;
[0061] Figure 2 A flowchart of a method for estimating remaining charging time provided in an embodiment of the present application;
[0062] Figure 3 A schematic diagram of the structure of a model training device provided in an embodiment of the present application;
[0063] Figure 4 A schematic diagram of the structure of a remaining charging time estimation device provided in an embodiment of the present application;
[0064] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0065] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0066] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0067] It should be noted that the existing remaining charging time estimation schemes mainly have the following problems: 1. Most of the existing methods are based on fixed models and parameters, which are difficult to adapt to the influence of factors such as battery aging, battery temperature changes, and ambient temperature changes, resulting in low estimation accuracy; 2. The battery temperature will rise during the battery charging process, and the charging performance under different battery temperature changes and ambient temperature changes is different. The existing technology lacks the ability to dynamically adapt to these changes, resulting in low estimation accuracy; 3. The existing technology fails to fully utilize the advantages of cloud computing and big data technology, lacks effective analysis of a large amount of historical charging data, which also leads to low estimation accuracy of the remaining charging time.
[0068] In view of the problems existing in the above-mentioned prior art, the embodiments of the present application provide a model training method and a remaining charging time estimation method, thereby effectively improving the estimation accuracy.
[0069] like Figure 1 As shown, the embodiment of the present application provides a model training method, which may include the steps of:
[0070] S101, collecting historical charging data of the vehicle;
[0071] Specifically, historical charging data can be collected based on high-frequency new energy vehicle buried data. The collected historical charging data can be classified, stored and analyzed according to vehicle type, charging type, etc. In order to ensure the accuracy of parameter calculation, the data collection frequency can be configured to be greater than 1 Hz.
[0072] S102, dividing the overall charging process of the battery into multiple charging paths, and extracting features according to the divided charging paths based on historical charging data, and sorting out charging sample data for each charging path. The charging sample data includes sample feature data under the current charging path and corresponding charging result labels, and the charging result labels include charging time and charging temperature rise.
[0073] Specifically, the overall charging process refers to the process of the battery power from 0% to 100%. This overall charging process can be divided into multiple charging paths according to needs, for example, divided into 0%-1%, 1%-2%, 2%-3%, ..., 99%-100%, a total of 100 charging paths. In addition to the average division, optionally, a specific division method can also be adopted, such as dividing into 0%-10%, 10%-50%, 50%-100%, a total of three charging paths. The specific charging path division method can be set according to specific needs.
[0074] For the acquired historical charging data, feature extraction is performed according to each charging path obtained by division to obtain charging sample data for each charging path. The charging sample data includes sample feature data of each charging path and corresponding charging result labels. Sample feature data refers to initial feature data that can be directly obtained or calculated, and charging result labels refer to actual charging time and charging temperature rise corresponding to each charging path.
[0075] S103, training a preset time estimation model using charging sample data of each charging path to obtain a trained remaining charging time estimation model;
[0076] Specifically, the charging sample data of each charging path is input into a preset time estimation model, and the time estimation model is trained so that the time estimation model learns the correspondence between the sample feature data and the corresponding charging result label, and finally a trained remaining charging time estimation model is obtained. Subsequently, by collecting or calculating the characteristic data of the battery, the corresponding remaining charging time estimation result can be output through the remaining charging time estimation model.
[0077] In some possible embodiments, further, the sample characteristic data includes at least one of a charging path, a vehicle model, a charging type, an ambient temperature, an initial battery temperature, a battery health value, and a current matching degree;
[0078] The current matching degree is the ratio of the actual charging current of the battery under the corresponding charging path to the battery charging request current.
[0079] It is understandable that the more data types and quantities the sample feature data includes, the better the training model effect is and the higher the accuracy of the remaining charging time estimation is. The sample feature data is extracted and calculated based on historical charging data. For example, the current matching degree is the ratio of the actual charging current of the battery under the corresponding charging path to the battery charging request current.
[0080] It is understandable that the charging path, vehicle model and charging type can be directly used as the type of sorted data, that is, the characteristic data are sorted and stored according to the charging path, vehicle model and charging type respectively, and used to train the corresponding remaining charging time estimation model respectively. Therefore, the charging path, vehicle model and charging type do not need to be included in the scope of model training as sample characteristic data.
[0081] It should be noted that the charging path, vehicle model and charging type can also be used as sample feature data for training the model. Specifically, the data of the charging path, vehicle model and charging type can be pre-processed by index mapping, vector encoding and other operations to meet the needs of model training.
[0082] In some possible embodiments, after step 103, the following steps may also be included:
[0083] Continuously collect historical charging data of vehicles, and obtain updated charging sample data based on the newly collected historical charging data;
[0084] The remaining charging time estimation model is iteratively trained using the updated charging sample data according to a preset cycle.
[0085] It should be noted that as time goes by, the charging data of each vehicle will continue to change. In order to adapt to this state change, the charging sample data can be updated and sorted at a certain period, and the updated data can be used to retrain the remaining charging time estimation model to perform iterative training of the model, thereby continuously improving the estimation accuracy of the model.
[0086] In a second aspect, an embodiment of the present application provides a method for estimating remaining charging time, which may include the steps of:
[0087] S201, responding to a charging time estimation request of a target vehicle, and acquiring charging characteristic data based on the charging time estimation request;
[0088] It should be noted that the embodiment of the present application can use the vehicle-cloud collaboration method to realize the estimation of the remaining charging time, that is, adopt the mode of vehicle-side request and cloud-side response, which saves resource consumption while ensuring the efficient execution of prediction tasks and real-time update of models. By centrally processing complex data analysis and prediction tasks in the cloud and utilizing real-time data requests from the vehicle side, efficient resource utilization and rapid response are achieved, optimizing the operating efficiency and prediction performance of the entire system.
[0089] Specifically, when the target vehicle needs to obtain the remaining charging time, it can trigger a charging time estimation request and upload relevant data. The cloud responds to the charging time estimation request of the target vehicle and obtains relevant charging characteristic data.
[0090] S202: Determine a total charging path to be estimated corresponding to the charging time estimation request.
[0091] It is understandable that, according to the charging time estimation request, the total charging path that the target vehicle wants to estimate can be obtained, that is, the total path from the current power (SOC, state of charge) to the cut-off power. For example, the current power of the battery is 20 (the unit can be percentage points), and the user presets the cut-off power to be 80. At this time, the total charging path to be estimated corresponding to the charging time estimation request is 20-80, which contains a total of 60 charging paths.
[0092] S203. For each charging path corresponding to the total charging path to be estimated, based on the charging characteristic data, the charging time of each charging path is sequentially obtained using a pre-trained remaining charging time estimation model. The pre-trained remaining charging time estimation model is obtained by training with any of the above model training methods; and the data items of the charging characteristic data correspond to the data items of the sample characteristic data.
[0093] It should be noted that, based on the acquired charging characteristic data, the charging time of each charging path may be acquired based on the remaining charging time estimation model.
[0094] It should be noted that the data items of the charging characteristic data correspond to the data items of the sample characteristic data, which means that the quantity and type of the acquired charging characteristic data are consistent with the quantity and type of the sample characteristic data when training the model.
[0095] S204: Perform statistics based on the acquired charging time to obtain a remaining charging time estimation result corresponding to the charging time estimation request.
[0096] Specifically, the calculated charging times of the various charging paths are superimposed to obtain a final remaining charging time estimation result.
[0097] In some possible embodiments, the charging characteristic data includes an initial battery temperature;
[0098] In step S203, based on the charging characteristic data, the charging time of each charging path is sequentially acquired using a pre-trained remaining charging time estimation model, which may include:
[0099] For each charging path corresponding to the total charging path to be estimated, based on the charging characteristic data, a pre-trained remaining charging time estimation model is used to sequentially obtain the charging temperature rise of each charging path;
[0100] The initial battery temperature of each charging path except the initial charging path is calculated based on the initial battery temperature and the charging temperature rise of the previous charging path; the initial charging path is the first charging path corresponding to the total charging path to be estimated.
[0101] It should be noted that, since the initial battery temperature of each charging path is affected by the temperature rise of the previous charging path, it is necessary to obtain the charging characteristic data and estimate the charging time in sequence according to the order of the charging paths.
[0102] Specifically, for the first charging path (initial charging path) corresponding to the total charging path to be estimated, the corresponding charging characteristic data can be directly obtained, for example, seven characteristic data including charging path, vehicle model, charging type, ambient temperature, battery initial temperature, battery health value and current matching degree. For each charging path except the initial charging path in the total charging path to be estimated, its battery initial temperature is calculated based on the battery initial temperature and charging temperature rise of the previous charging path.
[0103] In some possible embodiments, step S202, determining a total charging path to be estimated corresponding to the charging time estimation request, includes:
[0104] Determine the starting power and the ending power based on the charging time estimation request, determine the starting charging path as the charging path corresponding to the starting power, determine the ending charging path as the charging path corresponding to the ending power, and determine the starting charging path, the ending charging path and the intermediate charging path as the total charging path to be estimated; wherein the intermediate charging path is the charging path between the starting charging path and the ending charging path;
[0105] Step S204, performing statistics based on the acquired charging time to obtain a remaining charging time estimation result corresponding to the charging time estimation request, may include:
[0106] Determine a first charging time corresponding to a starting charging path based on a starting power level, and determine a second charging time corresponding to an ending charging path based on a cutting-off power level;
[0107] Statistics are collected based on the first charging time, the second charging time, and the charging time corresponding to the intermediate charging path to obtain a remaining charging time estimation result corresponding to the charging time estimation request.
[0108] It should be noted that in order to improve the estimation efficiency, the total charging path to be estimated can be counted as integers. For example, the unit of the charging path is 1, and the accuracy of the current power (starting power) and the cut-off power corresponding to the charging time estimation request is 0.1. The total charging path to be estimated can be determined by rounding or rounding up. For example, if the current power is 19.4 and the cut-off power is 80.6, the total charging path to be estimated can be 19-80, 19-81 or 20-81, etc. The specific approximate acquisition method can be set according to demand.
[0109] In an embodiment of the present application, in order to improve the accuracy of the remaining charging time estimation, for the starting charging path and the ending charging path, the actual proportions are calculated according to the starting power and the cut-off power, respectively, to obtain the actual charging time. Specifically, for the starting charging path, if the current power is 19.4, the starting charging path is the 20th charging path. After calculating the charging time of the 20th charging path, the final time estimation result is included according to the ratio of (20-19.4) / 1. Similarly, for the cut-off power of 80.6, the charging time of the 81st charging path is included in the final time estimation result according to the ratio of (80.6-80) / 1.
[0110] In some possible embodiments, step S201, responding to a charging time estimation request of a target vehicle and acquiring charging characteristic data based on the charging time estimation request, may include:
[0111] In response to a charging time estimation request of a target vehicle, determining a current stabilization time of the target vehicle after the charging time estimation request is issued, and acquiring charging characteristic data of the target vehicle at the current stabilization time;
[0112] The current stabilization moment is the end time of the current stabilization window, and the current stabilization window is a time window in which the charging current is within a preset fluctuation range.
[0113] It should be noted that after the target vehicle initiates a charging time estimation request, it can first determine the moment when the charging current enters a stable state, and then obtain the charging characteristic data at that moment for the remaining charging time evaluation, thereby further improving the estimation accuracy of the remaining charging time.
[0114] Specifically, a time window can be set. If the charging current of each frame in the time window is within a preset fluctuation range, it is considered that the charging has entered a stable stage. The end time of the time window is used as the current stabilization moment, and the charging characteristic data obtained based on the current stabilization moment is used to estimate the remaining charging time.
[0115] In some possible embodiments, after step S204, the following steps may also be included:
[0116] Acquire the current matching degree of the target vehicle during charging in real time; wherein the current matching degree is the ratio of the actual charging average current to the charging request average current in a preset time window;
[0117] When it is determined that the fluctuation of the current matching degree exceeds the preset matching degree fluctuation range, the charging characteristic data of the target vehicle at the moment of current fluctuation is re-acquired, and the remaining charging time estimation result is updated based on the charging characteristic data.
[0118] It should be noted that after the remaining charging time result is fed back, if it is determined that the fluctuation of the current matching degree is too large, it is necessary to re-acquire the charging characteristic data and re-determine the remaining charging time estimation result.
[0119] Specifically, the current matching degree of the target vehicle during charging is calculated in real time; wherein the current matching degree is the ratio of the actual charging average current to the charging request average current in a preset time window; by comparing the current matching degree of each time window with the current matching degree of the previous time window, if it exceeds a certain fluctuation range, the end time of the current time window is taken as the current fluctuation moment, and the charging characteristic data at the current fluctuation moment is obtained to re-estimate the remaining charging time.
[0120] The following introduces the model training method and the remaining charging time estimation method of this application in combination with a specific scenario.
[0121] The present application embodiment is mainly implemented by the following steps:
[0122] Step 1: Obtain historical vehicle charging data and perform data preprocessing.
[0123] (1) Data collection is realized based on high-frequency buried data of new energy vehicles. For example, the required data signals may include: frame number, current time, vehicle model code, real SOC, user preset charging upper limit SOC, battery health value, battery current, battery request current, temperature sampling list, battery charging status, longitude, latitude, etc.
[0124] (2) Perform pre-processing such as data cleaning on the collected data, which may include: 1. De-duplication of rows with the same vehicle frame number and current time; 2. Elimination of temperature sampling data that exceeds a preset range (such as -40 to 160); 3. Elimination of battery current sampling data that exceeds a preset range (such as -2000-2000).
[0125] Step 2: Feature extraction of each charging path.
[0126] Construct a cloud data table for each charging path. For example, divide the entire charging process into 0-1, 1-2, 2-3, ..., 99-100, for a total of 100 charging paths. Extract the charging time, battery temperature rise, and related feature data that affect the results under each charging path based on historical charging data.
[0127] Take a charging event of a certain car as an example, the charging path It indicates that the actual SOC is charged from i-1 to i, such as from 19 to 20, where i is an integer from 1 to 100.
[0128] The accuracy of the real SOC is generally 0.1. In order to improve the uniformity of the charging path, the charging path with integer accuracy can be extracted as the subsequent path standard. For example, if the real SOC is charged from 19.4 to 79.4, the characteristic data of 59 charging paths, 20-21, 21-22, 23-24, ..., 78-79, are extracted.
[0129] For any charging path , the moment when the real SOC just changes to i-1 is , the time when charging to i is .
[0130] (1) Calculate t i-1 Initial battery temperature at time:
[0131] (℃)
[0132] Where N is the number of battery temperature samples, t i-1 The temperature of the kth temperature sample at time instant.
[0133] (2) Calculation Ambient temperature e_temp in the charging path i
[0134] (℃)
[0135] Where N is t i-1 to i The total number of frames at the moment, e_temp k is the ambient temperature at the kth moment.
[0136] (3) Calculation Charging current matching under charging path:
[0137] In actual charging scenarios, due to the complexity of charging conditions, there are scenarios where the same charging pile is charged by multiple vehicles at the same time. The power supply provided by the charging pile to the vehicle is dispersed, resulting in the actual charging current of the battery being unable to meet the battery's demand current. In order to mark this situation, the characteristics of the matching degree between the actual charging current and the demand current of the battery are introduced to identify the matching status of the actual charging current and the demand current under each charging path. There are:
[0138]
[0139] Where: b_current k is the actual charging current at time k, n_current k is the charging request current at time k, N is t i-1 to i The total number of frames at the moment.
[0140] (4) Record the battery health value soh at time ti-1 i ;
[0141] (5) Record the charging type c_type at time ti-1 i ;
[0142] (6) Record vehicle type v_type i ;
[0143] (7) Calculate the charging time c_time under each charging path i :
[0144] c_time i =t i -t i-1 (s)
[0145] (8) Calculate the charging temperature b_temp_dif under each charging path i
[0146] b_temp_dif i =b_temp ti -b_temp ti-1 (℃)
[0147] Where: b_temp ti t i Battery temperature at the moment, b_temp ti-1 t i-1 The battery temperature at the moment.
[0148] The following table shows an example of the collected and extracted charging sample data:
[0149]
[0150] Step 3: Perform quality cleaning on feature data.
[0151] Regarding the data quality of collected data, in order to ensure the accuracy of feature calculation, the following conditions need to be met:
[0152] (1) The switching point position of each charging path must not have data loss, that is, at the t i-1 ,t i At all times, data needs to be continuous without data loss, ensuring that the switching bit data is credible.
[0153] (2) Ensure that the features of the cumulative calculation method are credible. Here, the data loss rate is introduced to evaluate the credibility of the features. For example, if the data acquisition frequency is x Hz, we have:
[0154] s_count i =(t i -t i-1 )×x
[0155] where s_count i is the number of data frames that should be present without data loss.
[0156] So we have:
[0157]
[0158] where r_count i is the actual number of data frames under the corresponding charging path.
[0159] Extract L_rate i More than 95% of all data form a feature data set, thereby improving data accuracy.
[0160] According to the vehicle frame number vin, the cloud performs a joint query on the vehicle model to obtain the vehicle model feature v_type i .
[0161] Step 4: Training of the remaining charging time estimation model.
[0162] Based on the historical charging data, the feature extraction in step 2 is performed on all historical charging events of all vehicles to obtain the charging sample data used for subsequent training. Exemplarily, the model training can be completed based on a preset BP neural network algorithm, with charging path, vehicle model, charging type, ambient temperature, battery initial temperature, battery health, current matching, charging time, battery temperature rise and other charging sample data as input.
[0163] When predicting the battery temperature rise and charging time of different paths based on BP neural network, the valid data in step 3 are selected to form the original data set S base , where the structure is {(X1, Y1, Z1) (X2, Y2, Z2), …, (X n , Y n ,Z n )}, let any one of the samples be (X i , Y i , Z i ) , X i is characterized by the form (X i1 , X i2 , X i3 , X i4 , X i5 ,X i6 ,X i7), the 7 features are charging path, vehicle model, charging type, ambient temperature, battery initial temperature, battery health, and current matching. i , Z i is the sample label (charging result label), Y i Represents the charging time, Z i Represents the battery temperature rise. The BP neural network model training process is as follows:
[0164] (1) Data preprocessing:
[0165] SOC of charging path i For example, the charging interval is represented by an integer sequence, such as i represents SOC i , that is, the process of charging the battery SOC from i-1 to i. An embedding layer is added to the model, which maps the index of each charging path (such as 1 for a 0-1 path) to a dense vector of a fixed size. The vector is learned through training and can capture the potential relationship between the paths. The input dimension is set to 100 and the output dimension is set to 20.
[0166] Preprocess the categorical features such as vehicle model (model characteristics) and charging type and convert them into numerical data that the model can understand. Since there is no order relationship between categories, one-hot encoding can be used for feature processing. Taking the charging type as an example, first, identify all charging types. In this embodiment, there are 3 types: slow charging, fast charging, and super fast charging. Create a vector of length 3 for each charging type. For example, "slow charging" can be encoded as [1, 0, 0], "fast charging" can be encoded as [0, 1, 0], and "super fast charging" can be encoded as [0, 0, 1]. Similarly, the one-hot vector creation of the vehicle model is completed according to the number of vehicle model types.
[0167] For the features of ambient temperature, battery initial temperature, battery health value, and current matching, in order to solve the inconsistency of the value ranges of different features of the samples and improve the convergence speed of the subsequent data algorithm, the features can be normalized. In this embodiment, Z-score normalization is used for normalization. For any feature X iJ (J = 1, 2, 3,…,n), and find its mathematical expectation as , find its standard deviation std( ), further, the transformed feature is recorded as X iJ _new, the conversion process is calculated as follows:
[0168]
[0169] (2) Dataset division:
[0170] The original data set is randomly divided into 80% as the training set and 20% as the test set.
[0171] (3) Establish a neural network:
[0172] Exemplarily, it can be designed as a 5-layer deep neural network, including an input layer, 3 hidden layers and an output layer, so as to ensure sufficient model complexity to capture the nonlinear characteristics of the charging process. Each layer can be configured with 10 neurons, evenly distributed in each hidden layer to form a stable information processing channel. The input layer receives the feature vector from the data preprocessing, and the output layer corresponds to the two prediction targets of charging time and battery temperature rise, so the output layer is set to 2 neurons.
[0173] (4) Activation function:
[0174] In order to effectively capture and process nonlinear relationships and avoid the gradient vanishing problem, ReLU can be used as the activation function in all hidden layers of the model. Its advantages include simple calculation, fast convergence, and keeping the gradient unsaturated in the positive interval. The output layer can use a linear activation function to directly output the predicted value, which is suitable for regression problems.
[0175] (5) Loss function:
[0176] The mean square error (MSE) can be used as the loss function, and the result after the k-th training in the data set is Sresult_k = {( X1, Y 1_k ,Z 1_k ), (X2, Y 2_k , Z 2_k ), …, (X n , Y n_k ,Z n_k )}, since there are two predicted values, the two predicted values are added to the mean square error of the test. In addition, due to the different importance in the prediction task, a weight factor is introduced to ensure that the charging time has a higher weight in the training.
[0177] The error can be calculated by the following formula:
[0178]
[0179] Where n is the total number of samples, Y i is the actual value of the i-th sample, Y i_k and Z i_k are the predicted values of charging time and temperature rise after the kth training respectively. are the weights of charging time prediction and battery temperature rise prediction, which can be set to 0.7 and 0.3 respectively. By adjusting the weights, the direction of model optimization is controlled to ensure the best performance overall.
[0180] (6) Optimization function
[0181] You can choose the steepest descent method, the idea of iterating in the direction of the current maximum gradient, and its basic formula is as follows:
[0182]
[0183]
[0184] In the formula, ω represents the weight of any neuron, θ represents the threshold of any neuron, η is the learning rate, and the initial setting of the learning rate η is 0.01, and the learning rate is gradually reduced as the training progresses. k is the neuron weight adjustment after the kth training, Δθ k is the neuron threshold adjustment after the kth training. By taking partial derivatives of the weights of each neuron, according to the set learning rate, the change of the current weight and threshold is obtained, and then the parameter modification is completed, and finally training is performed again.
[0185] (7) Training end conditions:
[0186] For example, the maximum number of training epochs is set to 3000, and the loss function threshold is set to 0.03. The initial thresholds and weights of neurons in each layer adopt the default values. When the model reaches the maximum number of training times or the loss function value is lower than the set threshold, it means that the model has completed training.
[0187] (8) Model verification:
[0188] The validation set is input into the trained model. When the validation set error is less than the set threshold, the model training effect is considered good. Otherwise, the parameters need to be adjusted and the model needs to be retrained. This cycle is repeated until the model accuracy meets the requirements.
[0189] (9) Data update and model iterative training:
[0190] As time goes by, the system continues to collect new charging data from each vehicle. The new data is integrated into the existing data set to form an updated data set, and the model is evaluated and iterated at a preset period (for example, monthly) to continuously improve the prediction accuracy.
[0191] Step 5: Vehicle-side request phase:
[0192] The trained model is deployed to the cloud server, which receives requests from vehicles to calculate the remaining charging time and provides a remaining charging time prediction service. Through the API interface, users can view the remaining charging time prediction results and charging suggestions in real time on the vehicle system or mobile phone application, so as to plan the charging time and itinerary more reasonably. The specific method is as follows:
[0193] Vehicle-side request response scenario:
[0194] (1) Initial stage of charging, when the charging current is stable;
[0195] (2) When the current matching changes.
[0196] In order to avoid complex charging scenarios such as multiple chargers on one charging station, when there is a significant fluctuation in the charging current and the demand current, it means that the charging scenario has changed. At this time, a new cloud request is made to correct the remaining charging time.
[0197] Response scenario 1:
[0198] 1. First, calculate the stable value of the charging current. For example, a 10s window is used for charging current sliding. When the data in the window meets the following conditions, it is determined to enter the current stable period:
[0199]
[0200] where b_current i is the charging current at the i-th second in the window.
[0201] So we have:
[0202]
[0203] in, Provides a stable current for charging during the window period.
[0204] Get the average battery current demand in the current stabilization window:
[0205]
[0206] in, is the average current demanded in the window, n_current i is the charging request current at the i-th second.
[0207] So we have:
[0208]
[0209] Among them, m_rate is the current matching degree in the initial stage of charging.
[0210] 2. The time when the first request is sent and responded by the cloud is the end time of the current stabilization window t i .
[0211] 3. iThe timestamp, vehicle frame number, current battery SOC, vehicle model, charging type, ambient temperature, battery temperature, battery health value, current matching, stable charging current, user-set charging cut-off SOC, and longitude and latitude information are sent to the cloud, waiting for the cloud to estimate the response.
[0212] Response scenario 2:
[0213] In actual charging scenarios, there are often multiple cars on one charging pile, which may cause the initial charging current to not meet the demand current. As other cars on the same charging pile leave, the output current of the charging pile can meet the requested current. There are also situations where there was originally one car on one charging pile, but as the charging pile is used by other cars, the output current of the charging pile cannot meet the demand current. Therefore, when the charging matching degree changes significantly, the vehicle side re-issues a request to estimate the remaining charging time (or the server side re-acquires the feature data to update the estimation result) in order to regain an accurate estimation time.
[0214] At the beginning of charging, after the first request is made, the vehicle records t i The vehicle side will continue to calculate the charging current matching degree. If the real-time charging matching degree exceeds the fluctuation range of the last recorded charging matching degree, it will repeat the calculation and obtain the relevant characteristic parameters and send them to the cloud to update the estimation result of the remaining charging time, and record the new charging current matching degree for subsequent comparison.
[0215] Determination of battery matching change: Take 10s as a window and calculate the current matching within the window. If the following conditions are met, it is considered to trigger the re-estimation of the remaining charging time:
[0216]
[0217] or,
[0218] m_rate f This is the current matching degree at the last request.
[0219] If the condition for re-estimating the remaining charging time is triggered, the new window end time t i The timestamp of the moment, vehicle frame number, actual battery SOC, vehicle model, charging type, ambient temperature, battery temperature, battery health value, current matching, stable charging current, user-set charging cut-off SOC, longitude and latitude information, etc. are sent to the cloud, and the cloud estimation response is waited for again.
[0220] Step 6: Cloud Prediction Phase:
[0221] After receiving the request, the cloud will predict the remaining charging time and send the result of each response back to the vehicle and the user's mobile phone. The specific method is as follows:
[0222] For example, the actual SOC (current power) of the battery received by the cloud is k, the accuracy of k is 0.1, and the charging cut-off SOC preset by the user is m, the accuracy of m is also 0.1.
[0223] We can round up k to get kf, and round up m to get mf. We can calculate the charging time and charging temperature rise of each sub-path from kf to mf to calculate the remaining charging time (for example, if k=19.4 and m=80.6, then kf=20 and mf=81. At this time, we need to calculate 62 charging paths from 20 to 81).
[0224] (1) For the starting path, i.e., SOC = k to SOC = kf, SOC kf Make an estimate and send the charging type c_type sent by the vehicle k 、Ambient temperature e_temp k 、Battery temperature b_temp k , battery health value soh k , current supply and demand matching degree m_rate k , vehicle model, substituted into the cloud model, SOC kf Charging time c_time under the path kf and battery temperature rise b_temp_dif kf .
[0225] The charging time from SOC=k to SOC=kf is:
[0226]
[0227] The battery temperature rise from SOC=k to SOC=kf is:
[0228]
[0229] (2) For SOC kf To SOC mf-1 For any path (intermediate charging path) under the path, since it involves the iteration of battery temperature rise and battery initial temperature, it is necessary to calculate the charging time and battery temperature rise under the path one by one in sequence:
[0230] SOC kf+i Take the path as an example (i ranges from 1 to mf-kf-1):
[0231] Battery charging path is SOC kf+i , vehicle type, charging type, and battery health value remain unchanged.
[0232] The ambient temperature is calculated using the weather API based on the longitude and latitude information. The weather API refers to an application programming interface written for querying the current weather information for a certain location or region. Using the weather API, you can input the longitude and latitude information to return the weather, temperature and other data for the corresponding location.
[0233] For the initial battery temperature b_temp kf+i ,have:
[0234]
[0235] For the current requirement matching value m_rate kf+i , according to the current charging data table stored in the cloud, look up the table to obtain the battery demand current r_current in this charging path kf+i ,have:
[0236]
[0237] c_current k is the charging current after initial upload and stabilization, If it is greater than 1, it is treated as 1.
[0238] Substitute the above 7 characteristic parameters into the model to obtain SOC kf+i Charging time c_time under charging path kf+i , battery temperature rise b_temp_dif kf+1 .
[0239] Since the initial battery temperature is affected by the estimated battery temperature rise of the previous path, the estimation of each charging path must be performed in sequence.
[0240] (3) For the end path, the SOC is charged from mf-1 to m. The calculation method of all characteristic parameters is the same as that of the intermediate path. After substituting into the model, the SOC mf Charging time c_time under the path mf .
[0241] Then there is SOC mf-1 To SOC m The charging time is:
[0242]
[0243] Finally, we have:
[0244]
[0245] After the calculation is completed, it is sent back to the vehicle according to the vehicle frame number, and the charging time is updated on the mobile phone.
[0246] It should be noted that the above only describes the scenario where there is current charging immediately after the battery is charged. If the battery has thermal management time before charging (charging heating / cooling), the thermal management time needs to be increased. The cloud can train a thermal management time estimation model based on a similar training method.
[0247] Please refer to Figure 3 , Figure 3 FIG. 1 shows a block diagram of a model training device provided in some embodiments of the present application. It should be understood that the model training device is similar to the above-mentioned Figure 1 Corresponding to the method embodiment, it is able to execute each step involved in the above method embodiment. The specific functions of the model training device can be found in the description above. To avoid repetition, the detailed description is appropriately omitted here.
[0248] Figure 3 The model training device includes at least one software function module that can be stored in a memory or fixed in the model training device in the form of software or firmware, and the model training device includes:
[0249] A data collection module 310 is used to collect historical charging data of the vehicle;
[0250] A feature extraction module 320 is used to divide the overall charging process of the battery into multiple charging paths, and perform feature extraction according to the divided charging paths based on historical charging data to obtain charging sample data of each charging path;
[0251] A model training module 330 is used to train a preset time estimation model using charging sample data of each charging path to obtain a trained remaining charging time estimation model;
[0252] The charging sample data includes sample characteristic data under the current charging path and corresponding charging result labels, and the charging result labels include charging time and charging temperature rise.
[0253] Please refer to Figure 4 , Figure 4 FIG. 1 is a block diagram showing a composition of a remaining charging time estimation device provided by some embodiments of the present application. It should be understood that the remaining charging time estimation device is similar to the above-mentioned Figure 2 Corresponding to the method embodiment, each step involved in the above method embodiment can be executed. The specific functions of the remaining charging time estimation device can be found in the description above. To avoid repetition, the detailed description is appropriately omitted here.
[0254] Figure 4The remaining charging time estimation device includes at least one software function module that can be stored in a memory in the form of software or firmware or fixed in the remaining charging time estimation device, and the remaining charging time estimation device includes:
[0255] A data acquisition module 410, for responding to a charging time estimation request of a target vehicle and acquiring charging characteristic data based on the charging time estimation request;
[0256] A path determination module 420, configured to determine a total charging path to be estimated corresponding to the charging time estimation request;
[0257] The time estimation module 430 is used to sequentially obtain the charging time of each charging path corresponding to the total charging path to be estimated based on the charging characteristic data and using a pre-trained remaining charging time estimation model;
[0258] A time statistics module 440 is used to perform statistics based on the acquired charging time to obtain a remaining charging time estimation result corresponding to the charging time estimation request;
[0259] The pre-trained remaining charging time estimation model is obtained by training using any model training method; and the data items of the charging characteristic data correspond to the data items of the sample characteristic data.
[0260] It can be understood that the above-mentioned device item embodiments correspond to the method item embodiments of the present invention. A device provided by the embodiments of the present invention can implement the method provided by any method item embodiment of the present invention.
[0261] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method, and will not be described in detail here.
[0262] like Figure 5 As shown, some embodiments of the present application provide an electronic device 500, which includes: a memory 510, a processor 520, and a computer program stored in the memory 510 and executable on the processor 520, wherein the processor 520 reads the program from the memory 510 through a bus 530 and executes the program to implement a method of any embodiment included in the above-mentioned remaining charging time estimation method.
[0263] Processor 520 can process digital signals and can include various computing structures, such as complex instruction set computer structure, reduced instruction set computer structure, or a structure that implements a combination of multiple instruction sets. In some examples, processor 520 can be a microprocessor.
[0264] The memory 510 may be used to store instructions executed by the processor 520 or data related to the execution of instructions. These instructions and / or data may include codes for implementing some or all functions of one or more modules described in the embodiments of the present application. The processor 520 of the disclosed embodiment may be used to execute instructions in the memory 510 to implement the method shown above. The memory 510 includes a dynamic random access memory, a static random access memory, a flash memory, an optical memory, or other memory known to those skilled in the art.
[0265] Some embodiments of the present application further provide a computer-readable storage medium having a computer program stored thereon. The computer program is executed by a processor to execute the method described in the method embodiment.
[0266] Some embodiments of the present application further provide a computer program product, which, when executed on a computer, enables the computer to execute the method described in the method embodiment.
[0267] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0268] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0269] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0270] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.
[0271] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0272] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0273] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A method for estimating remaining charging time, characterized in that: include: responding to a charging time estimation request from a target vehicle and acquiring charging characteristic data based on the charging time estimation request; Determining a total charging path to be estimated corresponding to the charging time estimation request; For each charging path corresponding to the total charging path to be estimated, based on the charging characteristic data, using a pre-trained remaining charging time estimation model to sequentially obtain the charging time of each charging path; Performing statistics based on the acquired charging time to obtain a remaining charging time estimation result corresponding to the charging time estimation request; The charging characteristic data includes the initial temperature of the battery; The method of sequentially obtaining the charging time of each charging path based on the charging characteristic data and using a pre-trained remaining charging time estimation model includes: For each charging path corresponding to the total charging path to be estimated, based on the charging characteristic data, using a pre-trained remaining charging time estimation model to sequentially obtain the charging temperature rise of each charging path; The initial battery temperature of each charging path except the initial charging path is calculated based on the initial battery temperature and charging temperature rise of the previous charging path; the initial charging path is the first charging path corresponding to the total charging path to be estimated; After performing statistics based on the acquired charging time to obtain a remaining charging time estimation result corresponding to the charging time estimation request, the method further includes: Acquiring the current matching degree of the target vehicle during charging in real time; wherein the current matching degree is the ratio of the actual charging average current to the charging request average current in a preset time window; When it is determined that the fluctuation of the current matching degree exceeds a preset matching degree fluctuation range, reacquiring charging characteristic data of the target vehicle at the moment of the current fluctuation, and updating the remaining charging time estimation result based on the charging characteristic data; The training method of the pre-trained remaining charging time estimation model includes: Collect historical charging data of vehicles; Dividing the overall charging process of the battery into multiple charging paths, and performing feature extraction according to the divided charging paths based on the historical charging data to obtain charging sample data for each charging path; Using the charging sample data of each charging path to train a preset time estimation model to obtain a trained remaining charging time estimation model; The charging sample data includes sample characteristic data under the current charging path and corresponding charging result labels, and the charging result labels include charging time and charging temperature rise; The sample characteristic data includes charging path, vehicle model, charging type, ambient temperature, battery initial temperature, battery health value and current matching; wherein, the current matching is the ratio of the actual charging current of the battery under the corresponding charging path to the battery charging request current; the data items of the charging characteristic data correspond to the data items of the sample characteristic data.
2. The method for estimating the remaining charging time according to claim 1, wherein: The determining the total charging path to be estimated corresponding to the charging time estimation request includes: determining a starting power level and a cutting-off power level based on the charging time estimation request, determining a charging path corresponding to the starting power level as a starting charging path, determining a charging path corresponding to the cutting-off power level as an ending charging path, and determining the starting charging path, the ending charging path, and an intermediate charging path as the total charging path to be estimated; wherein the intermediate charging path is a charging path between the starting charging path and the ending charging path; The performing statistics based on the acquired charging time to obtain a remaining charging time estimation result corresponding to the charging time estimation request includes: Determine a first charging time corresponding to the starting charging path based on the starting power, and determine a second charging time corresponding to the ending charging path based on the ending power; Statistics are performed based on the first charging time, the second charging time, and the charging time corresponding to the intermediate charging path to obtain a remaining charging time estimation result corresponding to the charging time estimation request.
3. The method for estimating remaining charging time according to claim 1, wherein: The step of responding to a charging time estimation request from a target vehicle and acquiring charging characteristic data based on the charging time estimation request includes: In response to a charging time estimation request from a target vehicle, determining a current stabilization moment of the target vehicle after the charging time estimation request is issued, and acquiring charging characteristic data of the target vehicle at the current stabilization moment; The current stabilization moment is the end time of the current stabilization window, and the current stabilization window is a preset time window in which the charging current is within a preset fluctuation range.
4. The method for estimating remaining charging time according to claim 1, wherein: After the preset time estimation model is trained using the charging sample data of each charging path to obtain a trained remaining charging time estimation model, the method further includes: Continuously collect historical charging data of vehicles and compile updated charging sample data based on the newly collected historical charging data; The remaining charging time estimation model is iteratively trained using the updated charging sample data according to a preset cycle.
5. A device for estimating remaining charging time, characterized in that: include: a data acquisition module, configured to respond to a charging time estimation request from a target vehicle and acquire charging characteristic data based on the charging time estimation request; a path determination module, configured to determine a total charging path to be estimated corresponding to the charging time estimation request; a time estimation module, configured to sequentially obtain, for each charging path corresponding to the total charging path to be estimated, a charging time for each charging path based on the charging characteristic data and using a pre-trained remaining charging time estimation model; a time statistics module, configured to perform statistics based on the acquired charging time to obtain a remaining charging time estimation result corresponding to the charging time estimation request; The charging characteristic data includes the initial temperature of the battery; The time estimation module is specifically used to: For each charging path corresponding to the total charging path to be estimated, based on the charging characteristic data, using a pre-trained remaining charging time estimation model to sequentially obtain the charging temperature rise of each charging path; The initial battery temperature of each charging path except the initial charging path is calculated based on the initial battery temperature and charging temperature rise of the previous charging path; the initial charging path is the first charging path corresponding to the total charging path to be estimated; The time statistics module is further configured to: Acquiring the current matching degree of the target vehicle during charging in real time; wherein the current matching degree is the ratio of the actual charging average current to the charging request average current in a preset time window; When it is determined that the fluctuation of the current matching degree exceeds a preset matching degree fluctuation range, reacquiring charging characteristic data of the target vehicle at the moment of the current fluctuation, and updating the remaining charging time estimation result based on the charging characteristic data; A data collection module, used to collect historical charging data of the vehicle; a feature extraction module, configured to divide the overall charging process of the battery into a plurality of charging paths, and perform feature extraction according to the divided charging paths based on the historical charging data, thereby obtaining charging sample data for each charging path; A model training module is used to train a preset time estimation model using charging sample data of each charging path to obtain a trained remaining charging time estimation model; The charging sample data includes sample characteristic data under the current charging path and corresponding charging result labels, and the charging result labels include charging time and charging temperature rise; The sample characteristic data includes charging path, vehicle model, charging type, ambient temperature, battery initial temperature, battery health value and current matching; wherein, the current matching is the ratio of the actual charging current of the battery under the corresponding charging path to the battery charging request current; the data items of the charging characteristic data correspond to the data items of the sample characteristic data.
6. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor can implement the method according to any one of claims 1 to 4 when executing the program.
7. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is executed.
8. A vehicle, characterized in that: Comprising the electronic device as claimed in claim 6.
Citation Information
Cited By
Method for training a machine learning model intended for determining the charging time of electric vehicle batteries
DE102024212046A1
