Battery capacity trajectory prediction and uncertainty quantification method and system based on real vehicle data

By constructing capacity tags based on real vehicle data and introducing a reliability perception strategy, the problems of incomplete charging segments and tag reliability differences in electric vehicle battery capacity prediction are solved, and accurate long-term capacity trajectory prediction and uncertainty quantification are achieved.

CN123136433APending Publication Date: 2026-11-20CHANGAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611325431.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-28
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing electric vehicle battery capacity prediction methods face problems such as incomplete charging segments and large differences in the reliability of capacity labels in actual vehicle operation scenarios, making it difficult to achieve accurate, lightweight, and uncertainty-aware long-term capacity trajectory prediction.

Method used

Based on real vehicle data, by acquiring and filtering charging data, event-level and monthly capacity labels are constructed, physically interpretable charging features are extracted, a liquid coding module is used to learn dynamic health status, and a reliability-aware trend fluctuation learning strategy is introduced. The capacity degradation trend and local fluctuations are combined for weighted learning, and finally, capacity trajectory point prediction results are generated and uncertainty is quantified.

Benefits of technology

It improves the accuracy and robustness of battery capacity trajectory prediction, reduces interference from low-reliability tags, provides uncertainty information, and achieves stability and accuracy in early capacity trajectory prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123136433A_ABST
    Figure CN123136433A_ABST
Patent Text Reader

Abstract

The application discloses a battery capacity trajectory prediction and uncertainty quantification method and system based on real vehicle data, and belongs to the technical field of battery management. The system comprises a liquid coding module, a main trend prediction module, a reliability-aware trend fluctuation learning module and a probability prediction module. The method comprises the following steps: acquiring real vehicle charging data and screening and resampling the charging data into a multi-channel sequence; constructing event-level and monthly capacity labels and evaluating reliability; learning dynamic health indicators through the liquid coding module and fusing them with physically interpretable features to estimate capacity degradation trends; introducing a reliability-aware trend fluctuation learning strategy, assigning weights based on the number of charges and label standard errors; superimposing trends and fluctuations to obtain point prediction results; and generating a prediction interval according to the training residual empirical quantile. The application can reduce the interference of low-reliability labels, ensure prediction accuracy and quantify uncertainty.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of battery management technology, specifically relating to a method and system for predicting battery capacity trajectory and quantifying uncertainty based on real vehicle data. Background Technology

[0002] Lithium-ion batteries (LIBs), as the core energy storage unit of electric vehicles, directly affect vehicle range, energy management, operational safety, and economic performance. During long-term use, LIBs gradually degrade under the combined effects of factors such as charge / discharge rate, ambient temperature, and differences in cell consistency. Therefore, accurately predicting battery capacity degradation trends is crucial for improving the health status assessment capabilities of the battery management system (BMS) and ensuring the safe operation of electric vehicles.

[0003] Existing battery capacity prediction methods mainly include model-driven and data-driven methods. Model-driven methods typically establish battery aging characterization relationships based on electrochemical models, equivalent circuit models (ECMs), or parameter identification models based on electrochemical impedance spectroscopy (EIS). However, electrochemical models rely on a large number of internal parameters, making parameter identification and online application difficult; ECMs have limited prediction accuracy and poor adaptability; EIS usually requires dedicated testing equipment and specific excitation conditions, making it unsuitable for large-scale in-vehicle online applications. Therefore, the application of model-driven methods in actual vehicle capacity prediction is somewhat limited.

[0004] Compared to model-driven methods, data-driven methods can directly learn capacity degradation patterns from battery operating data or cycle aging data, thus reducing reliance on precise mechanistic models and complex parameter identification processes. Existing data-driven capacity prediction methods can generally be divided into application scenarios based on laboratory data and application scenarios based on real-world vehicle operating data. Data-driven methods for laboratory data typically rely on relatively regular and repeatable charge-discharge data, and their model training and feature construction generally assume high consistency in charging windows, test conditions, and capacity labels. However, real-world vehicle operating data differs significantly from laboratory data. Real-world BMS data is usually affected by factors such as user driving behavior, charging habits, ambient temperature, and vehicle operating status, and generally suffers from problems such as incomplete charging segments, variable SOC windows, complex temperature conditions, and significant differences between vehicles. Therefore, data-driven methods for laboratory data are easily limited in terms of real-world capacity prediction and cross-vehicle generalization. In contrast, real-world BMS data can more directly reflect the actual degradation process of the battery. However, in such scenarios, battery capacity typically needs to be estimated indirectly based on partial charging intervals. Its reliability is affected by factors such as the number of effective charging events, the state of charge (SOC) coverage, and the dispersion of capacity estimates for a single charging event. If local residual compensation is learned directly from capacity tags with varying reliability levels, tag noise may be mistaken for actual capacity fluctuations, thereby reducing the stability and robustness of capacity trajectory prediction.

[0005] Furthermore, in practical applications, it is often necessary to predict the long-term capacity degradation trajectory of a target vehicle using only limited early-life charging data. The main challenges of this task include insufficient early-life information, significant differences in data distribution among vehicles, and the accumulation of long-term prediction errors. Most existing methods rely on statistical features, IC-DV parameters, or capacity sequence features extracted from charging data. While these features have some physical interpretability, they still struggle to fully capture dynamic response information such as voltage, current, temperature, and cell consistency during a single charge. Meanwhile, most existing capacity prediction studies primarily focus on point prediction accuracy, failing to adequately reflect the uncertainties in long-term capacity estimation. Although some methods can construct prediction intervals based on point prediction results, they typically rely on global residual distribution or fixed-scale assumptions, making it difficult to flexibly adjust the interval width according to the prediction time domain and performance degradation stage. This can lead to either insufficient prediction interval coverage or excessively wide intervals.

[0006] In summary, existing electric vehicle battery capacity prediction technologies still face problems such as incomplete charging segments and heterogeneous reliability of capacity tags in actual vehicle operation scenarios, making it difficult to achieve accurate, lightweight, and uncertainty-aware long-term capacity trajectory prediction. Summary of the Invention

[0007] The purpose of this invention is to provide a method and system for predicting battery capacity trajectory and quantifying uncertainty based on real vehicle data, so as to overcome the problems of incomplete charging segments and large differences in the reliability of capacity tags in existing electric vehicle battery capacity prediction methods under actual vehicle operation scenarios.

[0008] To achieve the above objectives, the technical solution adopted by the present invention is as follows: A method for predicting battery capacity trajectory and quantifying uncertainty based on real vehicle data includes the following steps: Acquire real-vehicle long-term charging data from the vehicle battery management system, perform validity screening on the real-vehicle long-term charging data to obtain valid charging event data, resample each valid charging event into a fixed sequence length and organize it into a multi-channel charging sequence; Based on the obtained valid charging event data, event-level capacity tags are constructed according to ampere-hour integral and state of charge change. The monthly capacity tag is calculated by using the truncated mean of all event-level capacity tags for the month. The standard error of the monthly capacity tag is calculated based on the number of valid charging events and the standard deviation of the event-level capacity estimate for the month to complete the reliability assessment. Physically interpretable charging features are extracted from the obtained valid charging event data and monthly statistical data. At the same time, liquid coding is performed on the obtained multi-channel charging sequence, and dynamic health status representation during the charging process is extracted through the hidden state update mechanism along the charging sequence. The obtained dynamic health status characterization is fused with the incremental capacity-differential voltage feature in the physical interpretability charging feature to construct an early vehicle health characterization. Based on the early vehicle health characterization, the dominant trend is predicted, the trend capacity retention rate is output, and the trend capacity retention rate is converted into a capacity degradation trend prediction value using a vehicle-specific reference capacity. The difference between the obtained monthly capacity label and the predicted value of capacity degradation trend is used as the local capacity fluctuation target. A saturation event support term is constructed based on the number of effective charging events, and a standard error penalty term is constructed based on the standard error of the monthly capacity label. A reliability weight is generated by combining the saturation event support term and the standard error penalty term. The local capacity fluctuation target is then weighted and learned using the reliability weight to obtain the predicted value of local capacity fluctuation. The obtained capacity decline trend prediction value is superimposed with the local capacity fluctuation prediction value to obtain the final capacity trajectory point prediction result. Based on the final capacity trajectory point prediction results and monthly capacity labels, the training residuals are calculated. The prediction step size is divided into multiple intervals. For each interval, the local quantiles and global quantiles of the training residuals are calculated and weighted smoothed to obtain the half width of the prediction interval for the corresponding interval. The corresponding probability prediction interval is output according to the interval to which the prediction step size of the test sample belongs.

[0009] Preferably, the actual vehicle charging data includes key charging parameters such as state of charge, current, temperature, cell voltage, and overall voltage; the validity screening includes removing charging segments with severe missing data, excessively short duration, excessively small range of state of charge change, abnormal current, or abnormal voltage; each valid charging event is resampled to a fixed sequence length and organized into a multi-channel charging sequence.

[0010] Preferably, the event-level capacity tag is determined based on the ampere-hour integral of the effective charging events and the corresponding change in state of charge; the monthly capacity tag is calculated using the truncated mean to estimate the event-level capacity of the effective charging events in the current month; the reliability of the monthly capacity tag is characterized by the standard error, which is determined based on the standard deviation of the estimated event-level capacity for the current month and the number of effective charging events.

[0011] Preferably, the physically interpretable charging features are extracted from valid charging events and monthly statistical data, including event support / window features, current features, voltage features, cell consistency features, temperature features, incremental capacity features, and differential voltage features; the liquid coding updates the hidden state point by point along the charging sequence, generates event-level liquid embeddings by fusing the current input state with the historical hidden state, and performs statistical pooling on multiple event-level liquid embeddings to obtain a vehicle-level early liquid state representation.

[0012] Preferably, the vehicle-level early liquid state characterization and the incremental capacity-differential voltage feature in the physically interpretable charging characteristics are fused to construct a fused input feature. Based on the fused input feature, the dominant trend prediction is performed to output the trend capacity retention rate, and the trend capacity retention rate is converted into a capacity degradation trend prediction value using a vehicle-specific reference capacity.

[0013] Preferably, the difference between the monthly capacity label and the predicted value of capacity degradation trend is used as the target of local capacity fluctuation. A saturation event support term is constructed based on the number of effective charging events, and a standard error penalty term is constructed based on the standard error of the monthly capacity label. The reliability weight is generated by combining the saturation event support term and the standard error penalty term. The weighted Huber method is used to learn the local capacity fluctuation term, and the local fluctuation estimate is subjected to a contraction constraint. The predicted value of capacity degradation trend and the constrained local fluctuation estimate are superimposed to obtain the final capacity trajectory point prediction result.

[0014] Preferably, the prediction step size is divided into multiple intervals. For each prediction step size interval, the local quantile and global residual quantile of the absolute prediction error of the training samples are calculated. The local quantile and global quantile are weighted and smoothed to obtain the half-width of the prediction interval for the corresponding interval. The half-width of the prediction interval is determined according to the interval to which the prediction step size of the test sample belongs, and the probability prediction interval corresponding to the point prediction result is output.

[0015] A battery capacity trajectory prediction and uncertainty quantification system based on real vehicle data, the system comprising: a data acquisition and preprocessing unit, which acquires real vehicle long-term charging data from the vehicle battery management system, performs validity screening on the real vehicle long-term charging data to obtain valid charging event data, and resamples each valid charging event into a fixed sequence length and organizes it into a multi-channel charging sequence; The tag construction and reliability assessment unit constructs event-level capacity tags based on the obtained valid charging event data, according to the ampere-hour integral and the change in state of charge. It calculates the monthly capacity tag by using the truncated mean of all event-level capacity tags for the month, and calculates the standard error of the monthly capacity tag based on the number of valid charging events and the standard deviation of the event-level capacity estimate for the month to complete the reliability assessment. The feature extraction and liquid coding unit extracts physically interpretable charging features from the obtained valid charging event data and monthly statistical data. At the same time, it performs liquid coding on the obtained multi-channel charging sequence and extracts the dynamic health status representation during the charging process through a hidden state update mechanism along the charging sequence. The dominant trend prediction unit fuses the obtained dynamic health status characterization with the incremental capacity-differential voltage feature in the physically interpretable charging characteristics to construct an early vehicle health characterization. Based on the early vehicle health characterization, it performs dominant trend prediction, outputs the trend capacity retention rate, and uses the vehicle-specific reference capacity to convert the trend capacity retention rate into a capacity degradation trend prediction value. The reliability-aware trend fluctuation learning unit uses the difference between the obtained monthly capacity label and the predicted value of capacity degradation trend as the local capacity fluctuation target. It constructs a saturation event support term based on the number of effective charging events and a standard error penalty term based on the standard error of the monthly capacity label. It generates reliability weights by combining the saturation event support term and the standard error penalty term. It uses the reliability weights to perform weighted learning on the local capacity fluctuation target to obtain the predicted value of local capacity fluctuation. The point prediction unit superimposes the obtained capacity decline trend prediction value with the local capacity fluctuation prediction value to obtain the final capacity trajectory point prediction result. The probability prediction unit calculates the training residual based on the final capacity trajectory point prediction result and the monthly capacity label. It divides the prediction step size into multiple intervals, calculates the local quantile and global quantile of the training residual for each interval, and performs weighted smoothing to obtain the half width of the prediction interval for the corresponding interval. It outputs the corresponding probability prediction interval according to the interval to which the prediction step size of the test sample belongs.

[0016] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the battery capacity trajectory prediction and uncertainty quantification method based on real vehicle data.

[0017] A computer-readable storage medium storing a computer program, which, when executed by a processor, implements the aforementioned method for predicting battery capacity trajectory and quantifying uncertainty based on real vehicle data.

[0018] Compared with the prior art, the present invention has the following beneficial technical effects: This invention provides a method for battery capacity trajectory prediction and uncertainty quantification based on real-vehicle data. It acquires real-vehicle charging data and filters and resamples it into multi-channel sequences; constructs event-level and monthly capacity labels and evaluates their reliability; learns dynamic health characteristics through a liquid coding module and fuses them with physically interpretable features to estimate capacity degradation trends; introduces a reliability-aware trend fluctuation learning strategy, assigning weights based on the number of charges and label standard errors; superimposes the trend and fluctuation to obtain point prediction results; and generates prediction intervals based on the empirical quantiles of the training residuals. This invention can reduce interference from low-reliability labels, quantifies uncertainty while ensuring prediction accuracy, and integrates sequence representation and physically interpretable features based on a liquid coding module. It can simultaneously utilize dynamic response information from the charging process and battery aging-related feature information, thereby improving the accuracy and robustness of early capacity trajectory prediction.

[0019] This invention uses a liquid coding module to dynamically map the resampled multi-channel charging sequence, which can capture voltage, current, thermal characteristics and cell consistency response in charging events, thus making up for the shortcomings of traditional statistical features in retaining dynamic information of the charging process. This invention introduces a reliability-aware trend fluctuation learning strategy, which assigns reliability weights based on the support of charging events and the uncertainty of capacity labels, so that the model can learn local capacity fluctuations while reducing the interference caused by low reliability capacity labels. This invention combines capacity degradation trend prediction, local fluctuation modeling, and probability prediction to generate a prediction interval while outputting the capacity trajectory point prediction result, providing uncertainty information for battery health status assessment and risk warning. Attached Figure Description Figure 1 The overall framework diagram of the battery capacity trajectory prediction and uncertainty quantification method based on real vehicle data is shown.

[0020] Figure 2 This diagram illustrates the construction of monthly capacity labels from event-level capacity estimates.

[0021] Figure 3 A schematic diagram of the LSE module core state update mechanism is shown.

[0022] Figure 4 A schematic diagram showing the capacity trajectory prediction results and the comparison of prediction errors is presented.

[0023] Figure 5 A schematic diagram showing the probabilistic capacity prediction results for vehicle #3 is provided. Detailed Implementation

[0024] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0025] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention 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 the invention 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 a 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.

[0026] like Figure 1 As shown, this invention provides a method for predicting battery capacity trajectory and quantifying uncertainty based on real vehicle data, including the following steps: Acquire real-vehicle long-term charging data from the vehicle battery management system, perform validity screening on the real-vehicle long-term charging data to obtain valid charging event data, resample each valid charging event into a fixed sequence length and organize it into a multi-channel charging sequence; Based on the obtained valid charging event data, event-level capacity tags are constructed according to ampere-hour integral and state of charge change. The monthly capacity tag is calculated by using the truncated mean of all event-level capacity tags for the month. The standard error of the monthly capacity tag is calculated based on the number of valid charging events and the standard deviation of the event-level capacity estimate for the month to complete the reliability assessment. Physically interpretable charging features are extracted from the obtained valid charging event data and monthly statistical data. At the same time, liquid coding is performed on the obtained multi-channel charging sequence, and dynamic health status representation during the charging process is extracted through the hidden state update mechanism along the charging sequence. The obtained dynamic health status characterization is fused with the incremental capacity-differential voltage feature in the physical interpretability charging feature to construct an early vehicle health characterization. Based on the early vehicle health characterization, the dominant trend is predicted, the trend capacity retention rate is output, and the trend capacity retention rate is converted into a capacity degradation trend prediction value using a vehicle-specific reference capacity. The difference between the obtained monthly capacity label and the predicted value of capacity degradation trend is used as the local capacity fluctuation target. A saturation event support term is constructed based on the number of effective charging events, and a standard error penalty term is constructed based on the standard error of the monthly capacity label. A reliability weight is generated by combining the saturation event support term and the standard error penalty term. The local capacity fluctuation target is then weighted and learned using the reliability weight to obtain the predicted value of local capacity fluctuation. The obtained capacity decline trend prediction value is superimposed with the local capacity fluctuation prediction value to obtain the final capacity trajectory point prediction result. Based on the final capacity trajectory point prediction results and monthly capacity labels, the training residuals are calculated. The prediction step size is divided into multiple intervals. For each interval, the local quantiles and global quantiles of the training residuals are calculated and weighted smoothed to obtain the half width of the prediction interval for the corresponding interval. The corresponding probability prediction interval is output according to the interval to which the prediction step size of the test sample belongs.

[0027] Figure 1 This document illustrates the overall framework of a method for predicting the early capacity trajectory of electric vehicle batteries and quantifying uncertainties based on real-vehicle data, as described in this embodiment. The method includes the following steps: Step S1: Obtain long-term charging data from the BMS and obtain valid charging event data through validity screening; resample the valid charging event data and organize it into a multi-channel charging sequence; In step S1 of this embodiment, the actual vehicle charging data includes key charging parameters such as SOC, current, temperature, cell voltage, and overall battery voltage. The original BMS data is then filtered for validity, removing charging segments with severe deficiencies, excessively short durations, excessively small SOC variation ranges, abnormal current, or abnormal voltage, thus obtaining a set of valid charging events.

[0028] Each valid charging event is resampled to a fixed sequence length. For the e-th charging event of vehicle v, the resampled multi-channel charging sequence is represented as follows:

[0029] In the formula, L The length of the resampled sequence. C Input the number of channels. Indicates the first t Multichannel charging state vector at each resampling point.

[0030] Step S2: Construct event-level capacity tags and monthly capacity tags, and conduct a reliability assessment of the monthly capacity tags based on the number of valid charging events and the dispersion of event-level capacity estimates; In step S2 of this embodiment, the event-level capacity tag is determined based on the ampere-hour integral of the effective charging event and the corresponding SOC change. Figure 2 ), for the first e For each effective charging event, the event-level capacity estimate can be expressed as:

[0031] In the formula, Indicates by the first e Capacity estimate obtained from each effective charging event I(t) The charging current recorded by the BMS. The sampling interval is... t 1 and t 2 represents the start and end times of the charging event, respectively. and These are the corresponding start and end SOC values.

[0032] Monthly capacity tags are calculated using a 10% truncated mean:

[0033] In the formula, Indicates vehicle v In the m Monthly capacity label, It is a truncated mean function. This represents the set of valid charging events for the vehicle that passed the screening process in that month.

[0034] It should be noted that in the embodiments of this disclosure, the 10% truncation ratio is set to reduce the impact of abnormal event-level capacity estimation, and can also be adjusted according to data quality, and does not constitute a limitation on the scope of protection of this disclosure.

[0035] The uncertainty of monthly capacity labels is characterized by SE:

[0036] In the formula, SE v,m Indicates vehicle v In the m SE with monthly capacity label For the vehicle in the m The standard deviation of monthly event-level capacity estimates This indicates the number of valid charging events in that month.

[0037] Step S3: Extract physically interpretable charging features and input the resampled multi-channel charging event sequence into the LSE module to extract dynamic health status representations during the charging process; In step S3 of this embodiment, interpretable charging features are extracted from valid charging events and monthly statistical data. The interpretable charging features include event support / window features, current features, voltage features, cell consistency features, temperature features, incremental capacity features, and differential voltage features.

[0038] The resampled multi-channel charging sequence is input into the LSE module, and the hidden state is updated point by point along the charging sequence, such as... Figure 3 As shown, the specific update process is as follows: Within each liquid cell, the current input state is concatenated with the hidden state from the previous step to form a joint input:

[0039] In the formula, Indicates the first t Multivariable charging state at each resampling point This indicates the hidden state from the previous step. This is the joint state vector obtained by concatenating the current input with the historical state.

[0040] Calculate candidate hidden states:

[0041] In the formula, This represents the candidate hidden state generated by the current charging response and historical states. and These are the weight matrix and bias term of the candidate state branch, respectively.

[0042] The state update rate associated with the current input is calculated as follows:

[0043] In the formula, Indicates the state update rate. and These are the weight matrix and bias term of the update rate branch, respectively. ε It is a small positive number used to avoid an update rate of zero.

[0044] The exponential decay factor is obtained based on the state update rate:

[0045] In the formula, The exponential decay factor Δ represents the historical hidden state. t This is the normalized time step.

[0046] Mixed gates are calculated as follows:

[0047] In the formula, Represents a hybrid gated vector. and These are the weight matrix and bias term of the hybrid gating branch, respectively.

[0048] Construct intermediate liquid states to describe the fusion effect produced by injecting historical hidden states with the current candidate state after exponential decay:

[0049] In the formula, Representing an intermediate liquid state, it integrates historical charging response characteristics after degradation with new state information caused by local dynamic changes in the current charging curve. (Operator) This indicates element-wise multiplication.

[0050] Obtain the current hidden state through a hybrid gating mechanism:

[0051] After reproducing the state along the entire charging curve, the hidden state sequence can be obtained. To simultaneously preserve both the terminal charging response and global curve-level state information, the terminal's hidden state is fused with the average state of the hidden state sequence, and mapped to obtain an event-level liquid embedding:

[0052] In the formula, Representation layer normalization, The liquid state embedding representation for the e-th charging event.

[0053] In one embodiment, a robust state learning strategy with denoising enhancement is employed to improve the robustness of the liquid state embedding (LSE) to real-vehicle noise, local anomalies, and incomplete charging curves. The training objective of LSE can be expressed as:

[0054] In the formula, For charging curve reconstruction loss, As an auxiliary loss for the physical state objective, As an auxiliary loss for event-level capacity targets, and These are the corresponding weighting coefficients.

[0055] For vehicles v Occurs during the early life stage N vFor each valid charging event, the corresponding event-level liquid embedding set can be represented as:

[0056] Statistical pooling is performed on the event-level liquid state embedding to obtain the vehicle-level early liquid state characterization:

[0057] In the formula, pool( The ) indicates a statistical pooling operation, including mean, standard deviation, and quantile statistics.

[0058] Step S4: Fuse the dynamic health characterization generated by the LSE module with charging event / IC-DV features to construct an early vehicle health characterization and predict capacity degradation trends; In step S4 of this embodiment, the process of constructing an early vehicle health characterization and predicting capacity degradation trends is as follows: Fuse the dynamic health characterization generated by the LSE module with charging events / IC-DV features:

[0059] In the formula, Indicates vehicle v Predicting step size h The fusion of input feature vectors, This indicates a charging event / IC-DV characteristic.

[0060] The dominant trend prediction module outputs the trend capacity retention rate:

[0061] In the formula, Indicates vehicle v Predicting step size h The trend of capacity retention rate.

[0062] The trend capacity retention rate is converted into an absolute capacity forecast using a vehicle-specific reference capacity:

[0063] In the formula, This indicates the dominant trend capacity forecast value. For vehicles v Reference capacity.

[0064] Step S5: Introduce the RATW module to model the local capacity fluctuations in the capacity decay trajectory, and generate reliability weights based on the effective charging quantity and the standard error of the capacity tag; In step S5 of this embodiment, the process of generating the reliability weight is as follows: Define the local fluctuation target relative to the dominant trend forecast:

[0065] In the formula, Indicates local capacity deviation. Indicates capacity label, This indicates the dominant trend capacity forecast.

[0066] It should be noted that this deviation may originate from actual local capacity fluctuations or from the uncertainty of monthly capacity labels. Therefore, it is treated as a weak local fluctuation learning objective under reliability constraints.

[0067] Define event support variables:

[0068] In the formula, Indicates vehicle v Predicting step size h The corresponding month's charging event support index, For vehicles v Predicting step size h The number of valid charging events within the corresponding month.

[0069] Construct saturation event support items based on the number of valid charging events:

[0070] In the formula, This indicates that the event supports weighted terms. and These are the lower and upper bounds of the event support item, respectively. This is the scaling adjustment factor.

[0071] In this embodiment, Determined based on interquartile range:

[0072] In the formula, and These represent the 25th and 75th percentiles, respectively. The constant 1.349 is a commonly used scaling factor between the interquartile range and the standard deviation, used only for scaling normalization.

[0073] It should be noted that, through the aforementioned saturation event support item, months with fewer effective charging events are assigned lower weights. Once the number of effective charging events reaches a certain level, the increase in weight from new events is limited, thus preventing reliability weight from being determined solely by the number of events.

[0074] Further introduce capacity tag SE penalty:

[0075] In the formula, This represents the standard error penalty term. This represents the 55th percentile of the capacity label SE in the training samples. The intensity of the standard error penalty item is controlled.

[0076] By combining the event support term and the capacity label standard error penalty term, the unnormalized reliability weights are obtained as follows:

[0077] The unnormalized reliability weights are normalized and truncated to obtain the final reliability weights:

[0078] In the formula, express The mean on the training samples, D tr Represents the training sample set, This represents the truncation function. w min and w max These represent the lower and upper limits of the reliability weight, respectively.

[0079] Step S6: Overlay the predicted value of capacity decline trend with the predicted value of local capacity fluctuation to obtain the final predicted value of capacity trajectory point; In step S6 of this embodiment, the process of obtaining the final capacity trajectory point prediction result is as follows: The weighted Huber method is used to train and learn the local capacity fluctuation term.

[0080] In the formula, This represents a shallow local fluctuation learner. β For model parameters, α is the L2 regularization coefficient.

[0081] Huber's loss function is represented as follows:

[0082] The weighted centering term defined on the training sample set:

[0083] For the test sample, the constrained local fluctuation estimate is given by the following formula:

[0084] In the formula, λ The fluctuation contraction coefficient, b This represents the maximum permissible fluctuation range.

[0085] The final capacity trajectory point prediction result is obtained by combining the dominant trend component and the local fluctuation component: .

[0086] Step S7: Construct a probability prediction module, generate prediction intervals based on the empirical quantiles of the training residuals, and output the corresponding interval widths according to different prediction step sizes.

[0087] In step S7 of this embodiment, the process of constructing the probability prediction module and generating the prediction interval based on the empirical quantiles of the training residuals is as follows: Define the absolute prediction error of the training samples:

[0088] The prediction interval is divided into multiple intervals; in one embodiment, it is divided into four intervals:

[0089] In the formula, This indicates the maximum prediction step size in the current prediction task.

[0090] For the i Prediction step size interval In the current training set Internal calculation of local fractions of the absolute error:

[0091] In the formula, This represents the empirical quantile level.

[0092] Further calculate the global residual quantiles on the training set:

[0093] Weighted smoothing is applied to the local and global quantiles to obtain the ... i Half width of each prediction step interval:

[0094] In the formula, Indicates falling on The number of training samples within the range, For smoothness intensity.

[0095] It should be pointed out that when When it is large, It is mainly determined by the local residual quantiles of the corresponding prediction step size interval; when When smaller, Shrinking towards the global residual quantile improves the stability of interval width estimation. The above process uses only training samples and does not use the actual capacity information of the test vehicles.

[0096] For test samples If its prediction step size Then its prediction interval half-width is defined as:

[0097] In the formula, Indicates the nominal coverage level. To achieve coverage levels Below, based on the training residual quantile estimation, the first... i The half width of each prediction step interval.

[0098] vehicle v In the prediction step h The probability prediction interval is expressed as:

[0099] During training, the model uses MAE, RMSE and MAPE as evaluation metrics, and constructs an evaluation metric system from three dimensions: point prediction accuracy, probability prediction reliability and model complexity.

[0100] To demonstrate the feasibility and accuracy of the LSE-RATW-based early capacity trajectory prediction and uncertainty quantification method for electric vehicle batteries under real-vehicle operating data conditions, this application uses the following examples to illustrate its feasibility and compares the MAE, MAPE, and RMSE of various algorithms to demonstrate its accuracy. To verify the feasibility and accuracy of the LSE-RATW-based early capacity trajectory prediction and uncertainty quantification method for electric vehicle batteries under real-vehicle data conditions, cross-vehicle verification was conducted using approximately 29 months of BMS charging data from 20 real electric vehicles. During the verification process, only the charging data of the first three months of the target vehicle was used as model input to predict the subsequent capacity trajectory of the target vehicle.

[0101] Five models—Seq2Seq-LSTM, CNN-BiGRU, PatchTST, TiDE, and TFT—were selected as baseline models for comparison with the LSE-RATW model. The vehicle-level capacity prediction trajectories and prediction errors of the different models are shown below. Figure 4 As shown, where, Figure 4Subgraphs (a), (c), and (e) in the figure represent the capacity prediction trajectories of vehicles #1, #2, and #3, respectively; (b), (d), and (f) represent the monthly prediction errors corresponding to vehicles #1, #2, and #3, respectively. It can be seen that the predicted trajectory of the LSE-RATW model described in this application is generally closer to the capacity label trajectory, and exhibits more stable tracking capabilities during the long-term performance decay stage and local fluctuation regions. Meanwhile, the monthly prediction error corresponding to the LSE-RATW model is generally close to the zero error line, with less long-term unidirectional bias, indicating that it can reduce error accumulation and prediction drift during the long-term prediction process. Table 1 summarizes the average prediction performance of different models under 10-fold vehicle-level cross-validation. As shown in Table 1, the MAE, RMSE, and MAPE of the LSE-RATW method described in this application are 0.827%, 1.046%, and 0.889%, respectively, all lower than the comparative models, indicating that this method has good cross-vehicle capacity trajectory prediction capabilities under the condition of using only early charging data.

[0102] Table 1. Average point prediction performance of different models under 10-fold vehicle-level cross-validation.

[0103] Table 2 further compares the complexity and computational efficiency of different models. It can be seen that the LSE-RATW described in this application contains only 48,774 trainable parameters and has a model storage space of only 0.186 MB, both of which are lower than all the compared models. Its inference time is only 0.0085 ms, also the lowest among all models, indicating that it has good potential for lightweight deployment and achieves a good balance between prediction accuracy, trajectory stability, and computational efficiency.

[0104] Table 2 Comparison of computational complexity of different models

[0105] To further verify the contribution of each core module in the model described in this application to the capacity trajectory prediction performance, three ablation models were used for verification. Specifically: the LSE module was removed, and only charging event / IC-DV features were used for prediction; the RATW learning module was removed, and only the dominant trend prediction was retained; the trend fluctuation learning structure was retained, but the reliability-aware sample weights were removed. Through the above comparisons, the impact of the liquid state encoding module, the reliability-aware trend-fluctuation learning module, and the reliability weight mechanism on the prediction performance can be verified respectively.

[0106] Table 3 summarizes the overall prediction errors of the complete model and the models with different modules removed. It can be seen that the complete LSE-RATW model achieved the lowest error values ​​in MAE, RMSE, and MAPE. After removing the LSE module, the model's MAE, RMSE, and MAPE increased to 1.029%, 1.327%, and 1.130%, respectively, indicating that the LSE module can extract dynamic information from the resampled charging sequence, which helps improve the model's ability to represent the capacity decay process. Removing the RATW module increased the model error, indicating that relying solely on dominant trend prediction is insufficient to fully describe the local biases caused by temperature differences, charging window differences, and capacity label fluctuations. By introducing the RATW module, the model described in this application can compensate for local capacity fluctuations while maintaining long-term capacity decay trend prediction, thereby improving the stability and accuracy of capacity trajectory prediction. When the reliability-aware learning mechanism was removed, the model's MAE, RMSE, and MAPE values ​​were 0.944%, 1.187%, and 1.049%, respectively, all still higher than the results of the complete model. This result indicates that if all monthly labels are treated as equally reliable during training, high-uncertainty labels may interfere with the learning process of local fluctuations. The model described in this application can enhance the role of high-reliability samples in model training while reducing the impact of high-uncertainty samples on parameter updates, thereby improving the robustness of trajectory prediction across vehicle capacity.

[0107] Table 3. Point prediction performance of LSE-RATW and its ablation variants

[0108] To verify the effectiveness of the probability prediction module described in this application in quantifying capacity trajectory uncertainty, the performance of the prediction interval is evaluated using test prediction results from cross-vehicle verification. These test results are from vehicle samples not involved in training, rather than the training set results, and therefore reflect the probability prediction capability of the method described in this application on unseen vehicles. In one specific embodiment, the probability prediction module described in this application is compared with a prediction interval construction method based on the Gaussian residual assumption and a prediction interval construction method based on kernel density estimation of residual distribution. Specifically, the method based on the Gaussian residual assumption constructs a parameterized prediction interval based on the mean and variance of the point prediction residuals; the method based on kernel density estimation constructs a non-parametric prediction interval based on the training residual distribution.

[0109] The above comparison verifies the technical effectiveness of the probability prediction module described in this application in terms of prediction interval coverage and interval width. Comparing the probability prediction metrics shown in Table 4, it can be found that under an 85% prediction interval, the prediction interval coverage (PICP85) of the LSE-RATW model described in this application is 85.086%, which is consistent with the target coverage level, and its normalized average prediction interval width (MPIW85) is only 2.988%. Under a 90% prediction interval, the prediction interval coverage (PICP90) of the LSE-RATW model is 90.220%, and the average prediction interval width (MPIW90) is 3.414%. Compared with methods based on Gaussian residual assumptions and methods based on kernel density estimation, the method described in this application maintains a high coverage while obtaining a narrower prediction interval, thereby reducing unnecessary interval redundancy. Furthermore, the negative log-likelihood index (NLL) and the continuous ranking probability score index (CRPS) are used to evaluate the probability prediction results. The results show that the NLL value of the LSE-RATW model described in this application is 1.749, which is lower than that of the method based on the Gaussian residual assumption and the method based on kernel density estimation; its CRPS value is 0.5891%, which is also lower than the above two methods. These results demonstrate that the model described in this application can not only achieve a reasonable coverage and interval width at a given confidence level, but also improve the consistency between the probability prediction distribution and the actual capacity label.

[0110] Table 4. Probabilistic prediction performance of different uncertainty estimation methods

[0111] Figure 5 The probability prediction results of the LSE-RATW model described in this application on representative vehicles are shown. Figure 5 It can be seen that the capacity point prediction curve generally follows the long-term decline trend of the capacity tag trajectory, and most capacity tag points fall within the corresponding 85% and 90% prediction intervals, indicating that the method described in this application can provide a relatively reasonable range of uncertainty while outputting capacity trajectory point prediction results. Figure 5 Among the representative vehicles shown, the capacity trajectory exhibits certain local fluctuations, such as a local rebound after a capacity decrease in the mid-prediction period. For this type of fluctuation scenario, the point prediction results of the model described in this application can smooth out short-term abnormal fluctuations, and the prediction interval can cover most capacity label points, thus providing an uncertainty boundary for long-term capacity estimation. As the nominal coverage increases from 85% to 90%, the prediction interval widens accordingly, indicating that the constructed prediction interval can match the set coverage level.

[0112] Furthermore, Figure 5It is also shown that the prediction interval described in this application does not maintain a fixed width throughout the entire prediction period, but can be adjusted according to the prediction month and capacity trajectory changes. Therefore, the probability prediction module described in this application can generate corresponding interval widths based on different prediction step sizes, thereby achieving the quantification of uncertainties related to the prediction stage. Since capacity tags under real-vehicle operating data conditions are easily affected by factors such as charging conditions, ambient temperature, and the number of effective charging events per month, simply outputting capacity point prediction results is insufficient to fully reflect the reliability of long-term capacity estimation; while the prediction interval described in this application can provide more complete uncertainty information for capacity trajectory prediction results.

[0113] Example 2: Model Training and Prediction under Different Hyperparameter Configurations In this embodiment, comparative experiments were conducted on key hyperparameters of the liquid coding module, such as the hidden state dimension, resampling sequence length, and training learning rate, to verify the stability and adaptability of the method described in this application under different configurations.

[0114] Regarding the hidden state dimensions of the liquid coding module, three configurations—32-dimensional, 64-dimensional, and 128-dimensional—were compared. Experimental results show that when the hidden state dimension is 32-dimensional, the model's mean absolute error (MAO) is 0.956% and the root mean square error (RMSE) is 1.213%. When the dimension is increased to 64-dimensional, the MAO decreases to 0.827% and the RMS to 1.046%, significantly improving prediction accuracy. When the dimension is further increased to 128-dimensional, the MAO is 0.815% and the RMS to 1.032%, with the improvement in accuracy narrowing, but the number of model parameters increases to approximately 62,000, and the storage space increases to 0.238 MB. Considering both prediction accuracy and the need for lightweight models, 64-dimensional hidden states are the preferred configuration.

[0115] Regarding the resampling sequence length, three configurations were selected: 128 points, 256 points, and 512 points. Experimental results show that with a sequence length of 128 points, the average absolute error is 0.912% due to significant loss of detailed information in the charging curve; with a sequence length of 256 points, the average absolute error is 0.827%, which can control the computational load while preserving the dynamic characteristics of the charging curve; with a sequence length of 512 points, the average absolute error is 0.819%, offering limited accuracy improvement but increasing the inference time to 0.015 ms / sample. Therefore, a resampling length of 256 points is the preferred configuration.

[0116] Regarding the training learning rate, three initial learning rates of 0.001, 0.005, and 0.01 were selected, and a cosine annealing strategy was used for decay. Experimental results show that when the learning rate is 0.001, the model converges slowly, requiring approximately 300 epochs to converge; when the learning rate is 0.01, the model oscillates in the early stages of training, resulting in slightly lower final convergence accuracy; when the learning rate is 0.005, the model converges stably within approximately 150 epochs and achieves the best prediction accuracy.

[0117] Example 3: Compatibility verification for different battery chemistry systems In this embodiment, the method described in this application is applied to two typical electric vehicle power battery systems: ternary lithium-ion batteries and lithium iron phosphate batteries, to verify the cross-system adaptability of the method.

[0118] For the ternary lithium-ion battery dataset, approximately 24 months of operational data from 15 electric vehicles equipped with NCM523 ternary lithium batteries were selected for validation. The capacity degradation curve of this battery system exhibits an approximately linear degradation characteristic in the early stages, and the standard error of the monthly capacity label is relatively small. Experimental results show that the method described in this application has an average absolute error of 0.756%, a root mean square error of 0.968%, an average absolute percentage error of 0.812%, and an 85% prediction interval coverage of 84.95% on the ternary lithium battery dataset, indicating that the method has good prediction accuracy and uncertainty quantification capability on the ternary lithium battery system.

[0119] For the lithium iron phosphate (LFP) battery dataset, approximately 26 months of operational data from 12 electric vehicles equipped with LFP batteries were selected for validation. The capacity degradation curve of this battery system exhibits a relatively obvious plateau period and local fluctuations in the early stages, with a relatively large standard error in the monthly capacity label. Furthermore, the voltage plateau characteristics of the charging curve differ significantly from those of ternary lithium batteries. Experimental results show that the method described in this application has an average absolute error of 0.913%, a root mean square error of 1.157%, and an average absolute percentage error of 0.978% on the LFP battery dataset, with an 85% prediction interval coverage of 85.12%. Compared to the ternary lithium battery dataset, the prediction error for LFP batteries is slightly larger, but the prediction interval coverage remains close to the target level. This indicates that the method described in this application, by capturing the dynamic characteristics of the charging curve through a liquid coding module and handling label uncertainty through a reliability-aware trend fluctuation learning strategy, can effectively adapt to different battery chemistry systems.

[0120] Example 4: Online Incremental Learning and Deployment Method This embodiment describes the online incremental learning deployment method of the method described in this application on the vehicle or in the cloud. Model deployment is divided into an initial training phase and an online incremental update phase.

[0121] In the initial training phase, the model was trained offline using historical vehicle datasets according to steps S1 to S7 above to obtain initial model parameters. The initial training employed batch gradient descent with a batch size of 64 and 200 training epochs. After training, the model parameters were deployed to the vehicle-side battery management system or a cloud-based prediction service platform.

[0122] During the online incremental update phase, when new vehicle operation data accumulates to a preset threshold (e.g., adding 3 months of data or 50 new valid charging events), an incremental model update is triggered. The incremental update employs a mini-batch gradient descent approach with a learning rate set to one-tenth of the initial learning rate (i.e., 0.0005). Only the top-level parameters of the model (the dominant trend prediction module and the local fluctuation learner) are fine-tuned, while the bottom-level parameters of the liquid coding module remain frozen to preserve the dynamic representation capability of the learned charging curves. After each incremental update, the updated model's accuracy is verified using a validation set. If the accuracy decreases beyond a preset threshold (e.g., the mean absolute error increases by more than 10%), the model is rolled back to the previous version's parameters.

[0123] In vehicle-mounted deployment scenarios, the model inference requires only 0.186 MB of storage space and a single inference time of only 0.0085 ms. It can run in real time on the microcontroller of the vehicle's battery management system without additional hardware acceleration. In cloud-based deployment scenarios, it can simultaneously perform batch predictions of the capacity trajectories of multiple vehicles and personalize the model based on vehicle usage scenarios (such as the difference in charging frequency between commercial and private vehicles).

[0124] Example 5: Performance Analysis in Different Prediction Time Domains In this embodiment, the predictive performance variation of the method described in this application is analyzed for three different prediction time domains: 6 months, 12 months, and 24 months. The prediction time domain is defined as the time span from the month of the model input data cutoff to the month of the prediction target.

[0125] For the 6-month prediction time domain, only the charging data of the target vehicle for the first 3 months is used as input to predict the capacity trajectory for the following 6 months. Experimental results show that the model's mean absolute error is 0.612%, root mean square error is 0.785%, and the average width of the 85% prediction interval is 2.156% in this time domain. Due to the short prediction time domain, the uncertainty of the capacity degradation trend is relatively small, resulting in a narrow prediction interval width.

[0126] For the 12-month prediction time domain, charging data from the first 3 months is used to predict the capacity trajectory for the following 12 months. Experimental results show that the mean absolute error is 0.827%, the root mean square error is 1.046%, and the average width of the 85% prediction interval is 2.988%. Compared with the 6-month time domain, both the prediction error and the interval width have increased, reflecting the accumulation of uncertainty in long-term prediction.

[0127] For the 24-month prediction time domain, charging data from the first 3 months is used to predict the capacity trajectory for the following 24 months. Experimental results show that the mean absolute error is 1.156%, the root mean square error is 1.472%, and the average width of the 85% prediction interval is 4.125%. In this time domain, the long-term cumulative effects of differences in vehicle usage behavior and environmental factors are more significant, further increasing the prediction error and interval width. However, the prediction interval coverage remains above 84.6%, indicating that the probabilistic prediction module can adaptively adjust the interval width according to the prediction time domain, providing reliable uncertainty estimates in different prediction time domains.

[0128] Examples 2 to 5 above further verify the effectiveness and adaptability of the method described in this application under different hyperparameter configurations, different battery chemistry systems, different deployment methods, and different prediction time domains. The specific parameter values ​​involved in each example are only illustrative and do not constitute a limitation on the scope of protection of this application.

[0129] This disclosure also provides a system for predicting the early capacity trajectory and quantifying the uncertainty of electric vehicle batteries based on real-vehicle data, including: The data acquisition and preprocessing unit is configured to acquire long-term real-vehicle charging data from the vehicle battery management system, obtain valid charging event data through validity screening, resample the valid charging event data, and organize the resampled data into a multi-channel charging sequence. The tag construction and reliability assessment unit is configured to construct event-level capacity tags and monthly capacity tags based on the valid charging event data obtained by the acquisition and preprocessing unit, and calculate the standard error of the monthly capacity tags based on the standard deviation of the number of valid charging events and the event-level capacity estimates to complete the reliability assessment. The feature extraction and liquid coding unit is configured to extract physically interpretable charging features from the effective charging event data and monthly statistical data obtained by the acquisition and preprocessing unit, input the multi-channel charging sequence obtained by the acquisition and preprocessing unit into the liquid coding module, and extract the dynamic health status characterization during the charging process. The dominant trend prediction unit is configured to fuse the dynamic health status representation obtained by the feature extraction and liquid coding unit with the incremental capacity-differential voltage feature in the physically interpretable charging feature to construct an early vehicle health representation, and predict the capacity degradation trend prediction value through the dominant trend prediction module. The reliability perception trend fluctuation learning unit is configured to use the difference between the monthly capacity label obtained by the label construction and reliability assessment unit and the capacity degradation trend prediction value obtained by the dominant trend prediction unit as the local capacity fluctuation target. It generates reliability weights based on the number of effective charging events and the standard error of the monthly capacity label, and uses the reliability weights to perform weighted learning on the local capacity fluctuation target to obtain the local capacity fluctuation prediction value. The point prediction unit is configured to superimpose the capacity decay trend prediction value obtained by the dominant trend prediction unit with the local capacity fluctuation prediction value obtained by the reliability perception trend fluctuation learning unit to obtain the final point prediction result of the capacity trajectory. The probability prediction unit is configured to calculate the training residual based on the final point prediction result obtained by the point prediction unit and the monthly capacity label obtained by the label construction and reliability assessment unit, generate a prediction interval based on the empirical quantile of the training residual, and output the corresponding interval width according to different prediction step sizes.

[0130] In this disclosure, a computer device is provided. The computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the method for predicting the early capacity trajectory of electric vehicle batteries and quantifying uncertainties based on real-vehicle data, as described in any of the above embodiments.

[0131] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor is used to execute program instructions stored in memory to implement the corresponding steps or functions of the method described in the embodiments of this disclosure.

[0132] In this embodiment of the disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method for predicting the early capacity trajectory of electric vehicle batteries and quantifying uncertainties based on real-vehicle data, as described in any of the above embodiments.

[0133] The computer-readable storage medium may include storage media built into the computer device or external storage media supported by the computer device. The computer-readable storage medium may be a high-speed random access memory or a non-volatile memory, such as a disk drive, flash memory, optical storage, or other media capable of storing program code.

[0134] Those skilled in the art will understand that embodiments of this disclosure may be provided in the form of a method, system, computer device, or computer-readable storage medium. This disclosure may be implemented in hardware, software, or a combination of hardware and software.

[0135] The embodiments of this disclosure are described with reference to flowchart illustrations, system structure diagrams, and / or functional block diagrams of the methods described in the embodiments of this disclosure. It should be understood that each process, step, or module in the flowchart and / or functional block diagram can be implemented by computer program instructions, hardware circuits, or a combination thereof.

Claims

1. A method for predicting battery capacity trajectory and quantifying uncertainty based on real vehicle data, characterized in that, Includes the following steps: Acquire real-vehicle long-term charging data from the vehicle battery management system, perform validity screening on the real-vehicle long-term charging data to obtain valid charging event data, resample each valid charging event into a fixed sequence length and organize it into a multi-channel charging sequence; Based on the obtained valid charging event data, event-level capacity tags are constructed according to ampere-hour integral and state of charge change. The monthly capacity tag is calculated by using the truncated mean of all event-level capacity tags for the month. The standard error of the monthly capacity tag is calculated based on the number of valid charging events and the standard deviation of the event-level capacity estimate for the month to complete the reliability assessment. Physically interpretable charging features are extracted from the obtained valid charging event data and monthly statistical data. At the same time, liquid coding is performed on the obtained multi-channel charging sequence, and dynamic health status representation during the charging process is extracted through the hidden state update mechanism along the charging sequence. The obtained dynamic health status characterization is fused with the incremental capacity-differential voltage feature in the physical interpretability charging feature to construct an early vehicle health characterization. Based on the early vehicle health characterization, the dominant trend is predicted, the trend capacity retention rate is output, and the trend capacity retention rate is converted into a capacity degradation trend prediction value using a vehicle-specific reference capacity. The difference between the obtained monthly capacity label and the predicted value of capacity degradation trend is used as the local capacity fluctuation target. A saturation event support term is constructed based on the number of effective charging events, and a standard error penalty term is constructed based on the standard error of the monthly capacity label. A reliability weight is generated by combining the saturation event support term and the standard error penalty term. The local capacity fluctuation target is then weighted and learned using the reliability weight to obtain the predicted value of local capacity fluctuation. The obtained capacity decline trend prediction value is superimposed with the local capacity fluctuation prediction value to obtain the final capacity trajectory point prediction result. Based on the final capacity trajectory point prediction results and monthly capacity labels, the training residuals are calculated. The prediction step size is divided into multiple intervals. For each interval, the local quantiles and global quantiles of the training residuals are calculated and weighted smoothed to obtain the half width of the prediction interval for the corresponding interval. The corresponding probability prediction interval is output according to the interval to which the prediction step size of the test sample belongs.

2. The battery capacity trajectory prediction and uncertainty quantification method based on real vehicle data according to claim 1, characterized in that, The actual vehicle charging data includes key charging parameters such as state of charge, current, temperature, cell voltage, and overall voltage; the validity screening includes removing charging segments with severe missing data, excessively short duration, excessively small range of state of charge change, abnormal current, or abnormal voltage; each valid charging event is resampled into a fixed sequence length and organized into a multi-channel charging sequence.

3. The battery capacity trajectory prediction and uncertainty quantification method based on real vehicle data according to claim 1, characterized in that, The event-level capacity tag is determined based on the ampere-hour integral of the effective charging events and the corresponding change in state of charge; the monthly capacity tag is calculated using the truncated mean to estimate the event-level capacity of the effective charging events in the current month. The reliability of the monthly capacity tag is characterized by the standard error, which is determined based on the standard deviation of the monthly event-level capacity estimate and the number of valid charging events.

4. The method for predicting battery capacity trajectory and quantifying uncertainty based on real vehicle data according to claim 1, characterized in that, The physically interpretable charging features are extracted from valid charging events and monthly statistics, including event support / window features, current features, voltage features, cell consistency features, temperature features, incremental capacity features, and differential voltage features. The liquid coding updates the hidden state point by point along the charging sequence. By fusing the current input state with the historical hidden state, an event-level liquid embedding is generated. Statistical pooling is then performed on multiple event-level liquid embeddings to obtain a vehicle-level early liquid state representation.

5. The battery capacity trajectory prediction and uncertainty quantification method based on real vehicle data according to claim 4, characterized in that, The vehicle-level early liquid state characterization and the incremental capacity-differential voltage feature in the physically interpretable charging characteristics are fused to construct a fused input feature. Based on the fused input feature, the dominant trend prediction is performed to output the trend capacity retention rate. The trend capacity retention rate is then converted into a capacity degradation trend prediction value using a vehicle-specific reference capacity.

6. The battery capacity trajectory prediction and uncertainty quantification method based on real vehicle data according to claim 5, characterized in that, The difference between the monthly capacity label and the predicted capacity degradation trend is used as the target for local capacity fluctuation. A saturation event support term is constructed based on the number of effective charging events, and a standard error penalty term is constructed based on the standard error of the monthly capacity label. The reliability weight is generated by combining the saturation event support term and the standard error penalty term. The weighted Huber method is used to learn the local capacity fluctuation term, and the local fluctuation estimate is subjected to a contraction constraint. The predicted capacity degradation trend value and the constrained local fluctuation estimate are superimposed to obtain the final capacity trajectory point prediction result.

7. The method for predicting battery capacity trajectory and quantifying uncertainty based on real vehicle data according to claim 1, characterized in that, The prediction step size is divided into multiple intervals. For each prediction step size interval, the local quantile and global residual quantile of the absolute prediction error of the training samples are calculated. The local quantile and global quantile are weighted and smoothed to obtain the half-width of the prediction interval for the corresponding interval. The half-width of the prediction interval is determined according to the interval to which the prediction step size of the test sample belongs. The probability prediction interval corresponding to the point prediction result is output.

8. A battery capacity trajectory prediction and uncertainty quantification system based on real vehicle data, characterized in that, The system includes: The data acquisition and preprocessing unit acquires real-vehicle long-term charging data from the vehicle battery management system, performs validity screening on the real-vehicle long-term charging data to obtain valid charging event data, and resamples each valid charging event into a fixed sequence length and organizes it into a multi-channel charging sequence. The tag construction and reliability assessment unit constructs event-level capacity tags based on the obtained valid charging event data, according to the ampere-hour integral and the change in state of charge. It calculates the monthly capacity tag by using the truncated mean of all event-level capacity tags for the month, and calculates the standard error of the monthly capacity tag based on the number of valid charging events and the standard deviation of the event-level capacity estimate for the month to complete the reliability assessment. The feature extraction and liquid coding unit extracts physically interpretable charging features from the obtained valid charging event data and monthly statistical data. At the same time, it performs liquid coding on the obtained multi-channel charging sequence and extracts the dynamic health status representation during the charging process through a hidden state update mechanism along the charging sequence. The dominant trend prediction unit fuses the obtained dynamic health status characterization with the incremental capacity-differential voltage feature in the physically interpretable charging characteristics to construct an early vehicle health characterization. Based on the early vehicle health characterization, it performs dominant trend prediction, outputs the trend capacity retention rate, and uses the vehicle-specific reference capacity to convert the trend capacity retention rate into a capacity degradation trend prediction value. The reliability-aware trend fluctuation learning unit uses the difference between the obtained monthly capacity label and the predicted value of capacity degradation trend as the local capacity fluctuation target. It constructs a saturation event support term based on the number of effective charging events and a standard error penalty term based on the standard error of the monthly capacity label. It generates reliability weights by combining the saturation event support term and the standard error penalty term. It uses the reliability weights to perform weighted learning on the local capacity fluctuation target to obtain the predicted value of local capacity fluctuation. The point prediction unit overlays the obtained capacity decline trend prediction value with the local capacity fluctuation prediction value to obtain the final capacity trajectory point prediction result. The probability prediction unit calculates the training residual based on the final capacity trajectory point prediction result and the monthly capacity label. It divides the prediction step size into multiple intervals, calculates the local quantile and global quantile of the training residual for each interval, and performs weighted smoothing to obtain the half width of the prediction interval for the corresponding interval. It outputs the corresponding probability prediction interval according to the interval to which the prediction step size of the test sample belongs.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the battery capacity trajectory prediction and uncertainty quantification method based on real vehicle data as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the battery capacity trajectory prediction and uncertainty quantification method based on real vehicle data as described in any one of claims 1 to 7.