A power battery voltage prediction method and device

By combining equivalent circuit models and deep learning models to estimate the internal state of the power battery, the problems of prediction error and fault early warning reliability of the power battery under real working conditions are solved, realizing high-precision voltage prediction and early fault identification, and improving the safety and reliability of the power battery.

CN123136403APending Publication Date: 2026-11-20SAIC GM WULING AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing technologies have low accuracy in predicting power battery voltage under real driving conditions, with large prediction errors, making it difficult to meet the requirements of high precision and engineering applicability, and the reliability of fault warning is insufficient.

Method used

The internal physical state of the power battery is estimated by using an equivalent circuit model and an extended Kalman filter algorithm. Voltage prediction is performed by combining a physical constraint-based deep learning model. The prediction residuals are analyzed by statistical modeling, and fault risk indicators are output for early fault warning.

Benefits of technology

It improves the accuracy of predicting power battery voltage under complex operating conditions, enables early identification and reliable warning of faults, and enhances the safety and service life of power batteries.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123136403A_ABST
    Figure CN123136403A_ABST
Patent Text Reader

Abstract

The application provides a power battery voltage prediction method and device, the method comprises the following steps: obtaining running state data of a power battery; estimating internal physical states of the power battery based on an equivalent circuit model of the power battery; and performing voltage prediction of the power battery by using a deep learning model based on physical constraints according to the running state data and the internal physical states of the power battery, so that the prediction error of the power battery voltage under complex real working conditions can be reduced, and the prediction accuracy can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power battery technology for new energy vehicles, and in particular to a method and device for predicting power battery voltage. Background Technology

[0002] With the global energy structure transformation and the development of low-carbon transportation, electric vehicles have become an important development direction in the transportation sector. As the core energy unit of electric vehicles, the operating status of the power battery system directly affects the safety, reliability, and lifespan of the entire vehicle. In practical applications, limited by cost, space, and hardware conditions, on-board battery management systems typically use battery terminal voltage as a key state characterization quantity to reflect the battery's operating status and trigger safety protection or fault alarms. Therefore, the accuracy of battery voltage prediction is fundamental to achieving active safety management and fault early warning of power batteries.

[0003] However, in related technologies, power battery voltage prediction and fault warning technologies still face shortcomings in prediction accuracy, physical consistency, generalization ability, and warning reliability under real driving conditions, making it difficult to simultaneously meet the requirements of high-precision prediction and engineering applicability. Therefore, the prediction error of power battery voltage under complex real-world conditions is relatively large, resulting in low prediction accuracy. Summary of the Invention

[0004] In view of this, embodiments of the present invention provide a method and apparatus for predicting power battery voltage, which can reduce the prediction error of power battery voltage under complex real-world operating conditions and improve prediction accuracy.

[0005] In a first aspect, embodiments of the present invention provide a method for predicting the voltage of a power battery, the method comprising: Acquire the operating status data of the power battery; The internal physical state of the power battery is estimated based on the equivalent circuit model of the power battery. Based on the operating status data and internal physical state of the power battery, a deep learning model based on physical constraints is used to predict the voltage of the power battery.

[0006] Optionally, acquiring the operating status data of the power battery includes: Obtain historical time series data of the power battery during actual operation; The historical time series data is sampled according to a preset sampling interval to obtain the operating status data.

[0007] Optionally, before sampling the historical time series data according to a preset sampling interval, the method further includes: The historical time series data is preprocessed, including time synchronization, outlier removal, and missing value imputation.

[0008] Optionally, estimating the internal physical state of the power battery based on the equivalent circuit model of the power battery includes: The physical relationship between the battery terminal voltage and internal state of the power battery is established based on the equivalent circuit model. Based on the physical relationship, the internal state of the power battery is estimated online using the extended Kalman filter algorithm to obtain the internal physical state.

[0009] Optionally, establishing the physical relationship between the battery terminal voltage and internal state of the power battery based on the equivalent circuit model includes: Based on the equivalent circuit model, and according to the convention of positive current direction, the physical relationship between the battery terminal voltage and the open-circuit voltage, ohmic voltage drop and polarization voltage of the power battery is established.

[0010] Optionally, the online estimation of the internal state of the power battery based on the physical relationship, using an extended Kalman filter algorithm to obtain the internal physical state, includes: Based on the physical relationship, the open-circuit voltage, the ohmic voltage drop, and the polarization voltage are estimated online using the extended Kalman filter algorithm to obtain the internal physical state.

[0011] Optionally, the step of predicting the voltage of the power battery using a physical constraint-based deep learning model based on the operating state data and internal physical state of the power battery includes: The operating status data and the internal physical state are input into the deep learning model to obtain the predicted values ​​of the terminal voltage, open circuit voltage, ohmic voltage drop and polarization voltage of the power battery.

[0012] Optionally, the loss function of the deep learning model during training includes the physical constraint loss term of the equivalent circuit model.

[0013] Optionally, the equivalent circuit model is a first-order Thevenin equivalent circuit model.

[0014] Optionally, it also includes: The residual sequence of the power battery voltage prediction is obtained based on the measurement sequence of the power battery voltage and the prediction sequence output by the deep learning model. Within a preset sliding time window, the residual sequence is statistically modeled to obtain residual distribution characteristics that reflect the current battery operating state. These residual distribution characteristics are used to distinguish between predictable deterministic components and irreducible random perturbation components.

[0015] Optionally, it also includes: The fault risk index is obtained based on the predicted residual distribution of the deep learning model within the current time window. When the fault risk index shows an upward trend over a first preset time period or when the fault risk index exceeds a preset threshold, it is determined that the power battery has a potential fault risk and fault warning information is output.

[0016] On the other hand, embodiments of the present invention provide a power battery voltage prediction device, the device comprising: The processing module is used to acquire the operating status data of the power battery; estimate the internal physical state of the power battery based on the equivalent circuit model of the power battery; and predict the voltage of the power battery using a physical constraint-based deep learning model according to the operating status data and the internal physical state of the power battery.

[0017] On the other hand, embodiments of the present invention provide a storage medium including a stored program, wherein the program controls the device where the storage medium is located to execute the above-described method when it is running.

[0018] On the other hand, embodiments of the present invention provide a computer device including a memory and a processor. The memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions, wherein the program instructions, when loaded and executed by the processor, implement the steps of the above-described method.

[0019] The technical solution of the power battery voltage prediction method and device provided in the embodiments of the present invention includes: acquiring the operating state data of the power battery; estimating the internal physical state of the power battery based on the equivalent circuit model of the power battery; and predicting the voltage of the power battery using a physical constraint-based deep learning model according to the operating state data and the internal physical state of the power battery. This method can reduce the prediction error of the power battery voltage under complex real-world operating conditions and improve the prediction accuracy. Attached Figure Description

[0020] Figure 1 A flowchart of a power battery voltage prediction method provided in an embodiment of the present invention; Figure 2 for Figure 1 A flowchart for obtaining operating status data of the power battery; Figure 3 for Figure 1 A flowchart for estimating the internal physical state of a power battery based on an equivalent circuit model of the power battery; Figure 4 This is a schematic diagram of the overall architecture and key components of the deep learning model in an embodiment of the present invention; Figure 5 This is a schematic diagram of the battery internal state observation results in an embodiment of the present invention; Figure 6 This is a schematic diagram illustrating the single-step prediction performance of the deep learning model in an embodiment of the present invention; Figure 7 This is a schematic diagram of fault evolution analysis based on fitting the predicted residual distribution of operating voltage in an embodiment of the present invention; Figure 8 This is a schematic diagram of the algorithm framework for early fault warning based on power battery voltage prediction in an embodiment of the present invention; Figure 9 This is a schematic diagram of the structure of a power battery voltage prediction device provided in an embodiment of the present invention; Figure 10 This is a schematic diagram of a computer device provided in an embodiment of the present invention. Detailed Implementation

[0021] To better understand the technical solution of the present invention, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0022] It should be understood that the described embodiments are merely some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0023] The terminology used in the embodiments of this invention is for the purpose of describing particular embodiments only and is not intended to limit the invention. The singular forms “a,” “the,” and “the” as used in the embodiments of this invention and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0024] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0025] Relevant power battery voltage prediction technologies mainly fall into two categories: physical model-based methods and data-driven methods. Physical model-based methods typically use equivalent circuit models or electrochemical models to describe the dynamic characteristics of the battery, achieving voltage prediction through parameter identification and state estimation. These methods are characterized by clear physical meaning and strong interpretability, achieving good prediction results under steady-state or controllable operating conditions. However, as the complexity of the model structure increases, the number of parameters increases significantly, and the parameter identification process becomes highly dependent on experimental conditions and calibration data, making it difficult to accurately and in real-time reflect the dynamic characteristics of battery parameters changing with operating conditions during actual vehicle operation. Furthermore, under complex driving conditions, battery current exhibits strong fluctuations and uncertainties, making it difficult for physical models that rely solely on fixed or slowly updated parameters to simultaneously achieve both prediction accuracy and real-time performance.

[0026] With the development of vehicle-to-everything (V2X) and cloud platforms, large-scale vehicle operation data can be continuously collected and stored, making data-driven battery voltage prediction methods a research hotspot. These methods typically utilize deep learning models to model multi-dimensional time-series data such as historical voltage, current, and temperature, achieving voltage prediction without explicitly building a physical model of the battery. Related research shows that prediction models based on recurrent neural networks can achieve high prediction accuracy on standardized operating conditions or laboratory datasets. However, these methods inherently rely on learning data correlations, lacking constraints on the battery's physical operating mechanisms. When input conditions change, the model is prone to prediction drift or physically unreasonable predictions, and its generalization ability and stability under real-world driving conditions remain insufficient.

[0027] In real-world vehicle operating environments, driver actions, road conditions, and environmental factors combine to create high uncertainty in the powertrain load, manifesting as dramatic fluctuations in battery current. Influenced by ohmic resistance and polarization effects, battery terminal voltage is not a slowly changing physical quantity but exhibits rapid dynamic response to current changes. Most voltage prediction methods utilize data from controllable laboratory load conditions or mature public datasets, primarily learning voltage variation patterns under relatively stable operating conditions. When applied to real-world driving conditions, prediction accuracy and robustness significantly decrease. Furthermore, evaluations of voltage prediction model performance in related technologies typically focus on the average error index, paying less attention to the distribution characteristics of prediction errors and their relationship to the system's inherent randomness. When the system input contains unpredictable disturbances, relying solely on error magnitude for evaluation makes it difficult to distinguish the impact of model limitations and irreducible random factors on the prediction results, thus restricting the reliability assessment of the model in engineering applications.

[0028] In terms of fault early warning, most battery management systems adopt a threshold-based passive alarm strategy, which triggers protection or an alarm when the voltage anomaly reaches a preset threshold. However, under complex operating conditions, battery voltage anomalies are often gradual and insidious, with early anomalies being small and difficult to effectively identify using fixed thresholds. Once an alarm is triggered, the time available for the driver and the system to respond is extremely limited, making it difficult to meet the higher requirements for power battery safety. Some studies have attempted to identify faults based on prediction results, but because the prediction models themselves lack physical consistency constraints, prediction errors are easily affected by random disturbances, resulting in insufficient stability of the early warning results and making it difficult to reliably characterize the fault evolution process.

[0029] In summary, the relevant power battery voltage prediction and fault warning technologies still face shortcomings in prediction accuracy, physical consistency, generalization ability, and warning reliability under real driving conditions, and are still difficult to simultaneously meet the requirements of high-precision prediction and engineering applicability.

[0030] Based on the above-mentioned technical problems, embodiments of the present invention provide a method for predicting the voltage of a power battery.

[0031] Figure 1 A flowchart of a power battery voltage prediction method provided in an embodiment of the present invention is shown below. Figure 1 As shown, the method includes: Step 101: Obtain the operating status data of the power battery.

[0032] For example, operational status data includes at least battery status data and vehicle status data. Battery status data includes individual cell voltage, battery current, battery temperature, and SOC (State of Charge); vehicle status data includes accelerator pedal travel and speed.

[0033] In some possible embodiments, such as Figure 2 As shown, step 101 includes: Step 1011: Obtain historical time series data of the power battery during actual operation.

[0034] In this embodiment of the invention, the historical time series data of the power battery during actual operation can be collected through a cloud-based vehicle operation status monitoring platform.

[0035] For example, historical time-series data refers to multivariate continuous or quasi-continuous data collected chronologically by the vehicle-side BMS (Battery Management System) and vehicle controller during vehicle operation, stored on a cloud platform, and bearing a unified timestamp. For the i-th cell of the power battery, the data vector at time t can be represented as x_i(t)=[U_i(t), I(t), T_i(t), SOC(t), v(t), a(t), p(t)], where U_i is the cell voltage, I is the battery pack current, T_i is the temperature, SOC is the state of charge, v is the vehicle speed, a is the accelerator pedal opening, and p may include vehicle operating parameters such as charge / discharge status and insulation status; "historical" refers to data collected before the predicted time.

[0036] Step 1012: Sample the historical time series data according to the preset sampling interval to obtain the running status data.

[0037] For example, historical time series data is sampled at a preset sampling interval Δt to obtain operational status data. For instance, Δt = 2 s. Taking the current time t_k as the end point of the window, the previous L sampling points are selected to form X_k = [x(t_{k-L+1}),...,x(t_k)], with a size of L×F, where F is the number of features.

[0038] For example, the runtime data used as input to the deep learning model is a sequence of historical window data. The historical window length L is the number of past sampling points included in the input data of the deep learning model, corresponding to the historical duration LΔt. The historical window length can be adjusted according to the prediction time step. The prediction time step H is the number of sampling points the model will take from the end of the window to the future output, corresponding to the prediction duration HΔt. The window slides forward with a step size s to form samples; the corresponding labels are Y_k=[U(t_{k+1}),...,U(t_{k+H})]. For example, when L=450 and Δt=2 s, the past 900 s of data are used, and when H=30, the future 60 s are predicted; adjacent samples can be set to s=1.

[0039] Here, Δt = 2 s determines the conversion relationship between "points - actual time". For example, L = 450 represents 900 s of history, and H = 1, 10, and 30 represent predictions for the next 2 s, 20 s, and 60 s, respectively. The larger H is, the more complete the polarization dynamics and operating context need to be covered. Usually, a suitable value is selected from L ∈ {150, 300, 450, 900} through a validation set, rather than being mechanically determined solely by H. In this embodiment, L = 450 can be used, and H can be taken from 1 to 30 according to the early warning requirements.

[0040] In some possible embodiments, before sampling the historical time series data according to a preset sampling interval, the historical time series data is preprocessed, including synchronization processing, outlier removal processing, and missing value imputation processing.

[0041] For example, if the collected data contains missing values, interpolation or forward imputation methods can be used for processing. If there are obvious anomalies, they should be removed during preprocessing. For example, if the voltage exceeds the physical range of a single sensor, the voltage change rate |ΔU| / Δt between two adjacent frames exceeds the calibration threshold, the deviation from the median of the battery pack cells at the same time exceeds 6 times the MAD (Median Absolute Deviation), or the signal remains completely unchanged for a set number of frames, it is identified as an "obvious anomaly".

[0042] Step 102: Estimate the internal physical state of the power battery based on the equivalent circuit model of the power battery.

[0043] In some possible embodiments, such as Figure 3 As shown, step 102 includes: Step 1021: Establish the physical relationship between the battery terminal voltage (also referred to as "terminal voltage" in this paper) and the internal state of the power battery based on the equivalent circuit model.

[0044] In some possible embodiments, step 1021 includes: based on the equivalent circuit model, and according to the convention of the positive current direction, establishing the physical relationship between the battery terminal voltage and the open-circuit voltage, ohmic voltage drop and polarization voltage of the power battery.

[0045] For example, the equivalent circuit model is a first-order Thevenin equivalent circuit model. This model uses an ideal voltage source U_oc to represent the open-circuit voltage of the battery related to SOC; R_o is the ohmic internal resistance, with an ohmic voltage drop U_o = I·R_o; R_p and C_p form a parallel RC polarization branch, representing electrochemical polarization, with a polarization voltage of U_p, whose continuous state equation is dU_p / dt = -U_p / (R_pC_p) + I / C_p; U_L is the battery terminal voltage, which, according to the positive current direction convention, satisfies U_L = U_oc - U_o - U_p. After discretization, U_p(k+1) = aU_p(k) + bI(k), where a = exp[-Δt / (R_pC_p)] and b = R_p(1-a). Parameters R_o, R_p, and C_p can be identified through pulse operating conditions and stored in tables according to SOC and temperature partitions, or updated online.

[0046] Step 1022: Based on physical relationships, the internal state of the power battery is estimated online using the extended Kalman filter algorithm to obtain the internal physical state.

[0047] In some possible embodiments, step 1022 includes: estimating the open-circuit voltage, ohmic voltage drop, and polarization voltage online using the EKF (Extended Kalman Filter) algorithm based on physical relationships to obtain the internal physical state.

[0048] For example, the parameters of the equivalent circuit model are set during the initialization phase, the extended Kalman filter algorithm uses the battery current and terminal voltage as inputs, and the state estimation process is synchronized with the sampling period.

[0049] For example, the initialization parameters R_o, R_p, and C_p are identified from the pulse current-voltage response of a normal battery cell: the instantaneous voltage drop during a current step is used to calculate R_o, and then R_p and τ=R_pC_p are fitted using an exponential recovery curve to obtain C_p; a parameter table is formed according to SOC and temperature partitions, with the initial state U_p set to 0 or estimated from the resting period, and SOC taken as the BMS value. The input current and terminal voltage are both derived from the aforementioned historical time series data: offline training inputs the data sequentially according to historical frames, while online operation appends newly acquired frames to the same sequence, with consistent data definitions. The EKF uses U_p, SOC, etc., as states, battery pack current I as the control input, and terminal voltage U_L as the observation to predict the internal physical state, then calculates the observation residuals, Kalman gain, and corrects the state; this is executed every 2 seconds, thus obtaining a U_oc, U_o, U_p sequence synchronized with the sampling period.

[0050] For example, the internal physical state is a sequence of physical quantities that reflects the internal electrochemical state of a battery. The internal physical state serves as physical information input, providing a basis for physical constraints in subsequent deep learning models.

[0051] For example, the sequence of physical quantities includes open-circuit voltage U_oc(k), ohmic voltage drop U_o(k) = I(k)R_o, polarization voltage U_p(k), polarization branch time constant τ(k) = R_pC_p, and SOC(k) estimated by the filter. Among them, the open-circuit voltage U_oc reflects the equilibrium potential, the ohmic voltage drop U_o reflects the instantaneous voltage drop caused by the current change, and the polarization voltage U_p reflects the polarization dynamics with hysteresis characteristics. These physical quantities are arranged into a sequence at the same preset sampling interval (e.g., 2 s) as the original data, serving as the physical information input for the deep learning model.

[0052] Step 103: Based on the operating status data and internal physical state of the power battery, use a deep learning model based on physical constraints to predict the voltage of the power battery.

[0053] In some possible embodiments, step 103 includes: inputting the operating state data and internal physical state of the power battery into a deep learning model to obtain predicted values ​​of the power battery's terminal voltage, open circuit voltage, ohmic voltage drop, and polarization voltage.

[0054] For example, before inputting the model, the running status data and internal physical status at the same timestamp are aligned and normalized, and windows with missing or abnormal proportions exceeding the threshold are removed.

[0055] This invention constructs a deep learning model based on time-series modeling, taking the operating state data and internal physical state as model inputs, and outputting the predicted values ​​of the battery terminal voltage and the corresponding voltage components (open circuit voltage, ohmic voltage drop and polarization voltage) for multiple future time steps.

[0056] For example, at time t_k, take the operating state data X_k from the past 450 frames, each frame containing unit voltage U, current I, temperature T, SOC, vehicle speed, and pedal opening; synchronously input the internal physical state Z_k=[U_oc,U_o,U_p] of the 450 frames obtained by EKF. Concatenate [X_k,Z_k] according to the feature dimension and input it into the deep learning model. If the prediction time step H=30, the deep learning model outputs the predicted terminal voltage Û_L(k+1:k+30) for the next 30 frames, and provides the predicted open-circuit voltage Û_oc, ohmic voltage drop Û_o, and polarization voltage Û_p from the component output header. Taking a certain prediction step as an example, if the deep learning model outputs Û_oc=3.680 V, Û_o=0.120 V, and Û_p=0.045 V, then the reconstructed terminal voltage according to the positive direction of the current is 3.515 V; the consistency between this reconstructed value and the predicted terminal voltage output by the model can be verified.

[0057] For example, Figure 4 This is a schematic diagram of the overall architecture and key components of a deep learning model in an embodiment of the present invention. The deep learning model can be a BiLSTM-attention (Bidirectional Long Short-Term Memory with Attention Mechanism) model. The overall architecture and key components of the BiLSTM-attention model are as follows: Figure 4 As shown, the BiLSTM-attention model is a classic combination of "bidirectional long short-term memory network + attention mechanism". It captures contextual features through BiLSTM and then uses the attention mechanism to automatically focus on key information, performing well in NLP (Natural Language Processing) (such as sentiment analysis and machine translation) and temporal prediction tasks.

[0058] in , Figure 4The left side shows the model and training process. The input is running state data of length L and internal physical state. First, the bidirectional LSTM (Long Short-Term Memory) extracts the contextual temporal features, and then LayerNorm (Layer Normalization) and multi-head self-attention are used to assign weights to key moments. The attention output is residually connected with the Bidirectional Long Short-Term Memory (BiLSTM) features, and then passed through mean pooling, feedforward layer and LayerNorm to be divided into terminal voltage output head Û_L and voltage component output heads Û_oc, Û_o, and Û_p. Figure 4 The top right corner shows that BiLSTM is constructed by splicing together the hidden states of forward and inverse LSTM. Figure 4 The bottom right section illustrates the parallel computation of Q (Query), K (Key), and V (Value) in multi-head attention. Training samples are divided into training, validation, and test sets by vehicle or time period to prevent leakage between adjacent windows. Training is performed using the joint loss L_data + λ_pL_phy, employing Adam (Adaptive Moment Estimation), mini-batch backpropagation, early stopping on the validation set, and learning rate decay. During deployment, only data prior to the prediction time is used to form windows, and after offline training, inference is performed in the cloud according to the new data period.

[0059] For example, the loss function of a deep learning model during training includes a physical constraint loss term from the equivalent circuit model.

[0060] For example, the total loss function includes a data fitting loss term L_data, a physical constraint loss term L_phy, and a network parameter regularization term L_reg for the deep learning model.

[0061] L_data can be the mean square error between the true and predicted terminal voltage values ​​or the Huber loss, i.e., L_data = (1 / NH)Σ|U_L - Û_L|². The Huber loss is a regression loss function robust to outliers.

[0062] L_phy includes voltage algebra constraints and polarization state transition constraints, L_phy=(1 / NH)Σ|Û_L-(Û_oc-Û_o-Û_p)|²+η(1 / N(H-1))Σ|Û_p(k+1)-[aÛ_p(k)+bI(k)]|², and can be increased by |Û_o-IR_o|². Here, η is determined through a validation set, for example, initially taken as 1, 0.1, or 1, and dynamic weights can be used to make the gradient magnitudes of each term similar.

[0063] In this embodiment of the invention, a physical constraint loss term is introduced into the deep learning model during the training process to constrain the physical relationship between the predicted voltage component and the equivalent circuit model, thereby ensuring that the model prediction results meet the physical operating laws of the battery.

[0064] The consistency constraint is achieved through "common output + loss penalty": the deep learning model outputs the terminal voltage prediction Û_L from one output branch, and the open-circuit voltage prediction Û_oc, the ohmic voltage drop prediction Û_o, and the polarization voltage prediction Û_p from the other branch. The reconstructed terminal voltage value Û_ECM = Û_oc - Û_o - Û_p is calculated based on the equivalent circuit model relationship, and the difference between Û_L and Û_ECM is minimized. Simultaneously, Û_p at adjacent time points is substituted into the discrete state equation of the RC branch U_p(k+1) = aU_p(k) + bI(k) to minimize the state transition residual. During training, the error between the reconstructed terminal voltage value Û_ECM and the predicted terminal voltage value Û_L is used in backpropagation, and predictions exceeding this error are marked as low confidence.

[0065] Among them, the physical constraint loss term and the data fitting loss term need to be jointly optimized, the prediction step size can be set according to the application requirements, and the model input must maintain the same data format as the training phase.

[0066] The joint optimization of the physical constraint loss term and the data fitting loss term employs mini-batch gradient descent. For each batch, the terminal voltage and each voltage component are first fed forward, then the data fitting loss term L_data, the physical constraint loss term L_phy, and the network parameter regularization term L_reg are calculated, and weighted summed according to the loss function L = λ_dL_data + λ_pL_phy + λ_rL_reg. The network parameters of the deep learning model are updated using Adam based on the total loss gradient. λ_p can be selected from 0.01, 0.1, and 1 on the validation set, or dynamically adjusted according to the norm of each loss gradient to avoid any single term dominating. Training stops when the validation set metrics do not improve for several consecutive rounds, and the optimal parameters are saved.

[0067] For example, if the preset sampling interval is 2 seconds, and the cloud is required to perform real-time verification before the next data report, H=1 can be used to predict the next 2 seconds; if it is desired to cover short-term acceleration or braking processes, H=10 can be used to predict the next 20 seconds; if it is used to observe the voltage evolution within one minute in advance, H=30 can be used to predict the next 60 seconds.

[0068] For example, the internal physical state can provide a basis for constraints because these voltage components must simultaneously satisfy the continuous state equation and the positive current direction convention; if the output of a deep learning model does not satisfy the above relationship, it will be penalized in the physical loss.

[0069] Optionally, in this embodiment of the invention, a residual sequence for predicting the power battery voltage is obtained based on the measurement sequence of the power battery voltage and the prediction sequence output by the deep learning model; within a preset sliding time window, statistical modeling is performed on the residual sequence to obtain residual distribution characteristics that reflect the current battery operating state. The residual distribution characteristics are used to distinguish between predictable deterministic components and irreducible random disturbance components.

[0070] For example, for each prediction time and cell, the residual is defined as e_i(k,h)=U_i(k+h)-Û_i(k+h|k), where U_i is the measured voltage value and h is the prediction step. For single-step warnings, h=1; for multi-step warnings, residual sequences for each h can be formed separately, or weighted according to prediction confidence to form e_i(k)=Σw_he_i(k,h). The W valid residuals within the current sliding window are collected in chronological order to obtain the residual sequence E_i^m={e_i(k)}.

[0071] For example, the preset sliding time window is jointly set by the window length W and the sliding step S. W should cover enough residual samples to stably estimate the distribution, while being smaller than the desired fault evolution timescale; it can be selected within the range of 500 to 10000 frames based on a trade-off between the variance of the distribution parameters on the validation set and the warning delay. For example, using W=5000 frames and Δt=2 s, a single window accumulates approximately 2.78 hours of valid operating data, and S can be taken as 500 to 5000 frames; valid frames are not counted during periods when the vehicle is not in use. During engineering deployment, it can be recalibrated according to the historical normal data of the vehicle model.

[0072] For example, residual distribution characteristics include mean, standard deviation, skewness, kurtosis, quantiles, and the weights π_j, mean μ_j, and variance σ_j² of a three-component Gaussian Mixture Model (GMM). Under normal conditions, the deterministic voltage response learned by the deep learning model is interpreted by the predicted values, and the residuals mainly exhibit small, near-zero, and stable random perturbations. When internal resistance increases, connections become loose, or individual anomalous components cause repeatable shifts, long tails, or multimodal structures, the residual mean, dispersion, and GMM components will continuously change. Therefore, instead of making a deterministic / random determination on individual residuals, the baseline residual distribution that remains stable after training a normal deep learning model is used as a reference for irreducible perturbations, and structural distribution changes that continuously shift relative to the baseline are regarded as deterministic anomalous components not interpreted by the deep learning model.

[0073] For example, residual sequences should avoid containing sudden measurement anomalies, and statistical characteristics should be dynamically updated over time.

[0074] For example, before forming residuals, the voltage measurement sequence is first quality-marked: isolated outliers are identified using physical range, rate of change, median cell density / MAD within the package, and sensor freeze rules. Marked points are not included in the residual window; linear interpolation can be used only to maintain the continuity of the deep learning model input, but not as risk statistics samples. If the proportion of invalid points in a window exceeds, for example, 5%, that window is skipped. Hampel (or Hampel outlier) filtering can also be applied to the residuals to remove spikes that are outside the local median ± 3 times MAD and last only 1-2 frames, but persistent offsets must not be removed to avoid deleting true fault signs.

[0075] For example, statistical features include residual mean, standard deviation, root mean square, skewness, kurtosis, 5% / 50% / 95% quantile, and component weights π_j, mean μ_j, and variance σ_j² of a three-component GMM.

[0076] Optionally, in this embodiment of the invention, a fault risk index (also referred to as a risk index or risk index in this paper) is obtained based on the predicted residual distribution of the deep learning model within the current time window; when the fault risk index shows an upward trend over time in the first preset time period or when the fault risk index exceeds a preset threshold, it is determined that the power battery has a potential fault risk and fault warning information is output.

[0077] In this embodiment of the invention, the predicted residual distribution of the deep learning model within the current time window is compared with the historical benchmark distribution or the normal cell distribution. The degree of difference is quantified by the distribution distance metric to obtain the fault risk index. When the fault risk index shows a continuous upward trend over time or exceeds a preset threshold, it is determined that the power battery has a potential fault risk, and fault warning information is output to achieve early warning of power battery faults.

[0078] For example, the predicted residual distribution within the current time window refers to fitting the residual E_i^m within the current m-th sliding window into a three-component GMM using the expectation-maximization algorithm.

[0079] For example, the historical baseline distribution refers to the distribution obtained by selecting multiple normal windows from the confirmed fault-free training / calibration phase, summarizing the residuals, or aggregating the GMM parameters of each window.

[0080] For example, normal cell distribution refers to the reference distribution formed by selecting the residuals of a majority of normal cells at the same time.

[0081] Exemplarily, the WD (Wasserstein Distance) and JSD (Jensen-Shannon Divergence) are calculated for the predicted residual distribution p and the normal cell distribution q within the current time window. WD and JSD can be used respectively as two risk indicators of RI (Risk Index), or can be standardized first by using the mean μ_D and standard deviation σ_D of the normal calibration set, and then combined as RI_m=α·max[0,(WD_m-μ_WD) / σ_WD]+(1-α)·max[0,(JSD_m-μ_JSD) / σ_JSD], for example, α=0.5. The horizontal RI compares the abnormal candidate cell with the normal reference cell, and the vertical RI compares the current window of the same cell with the previous / reference window. The threshold can take the 99th percentile of the RI of the normal calibration set or μ_RI+3σ_RI; an alarm is triggered when the RI exceeds the threshold for K consecutive windows, or shows an upward trend for K consecutive windows with a cumulative increase exceeding the threshold, for example, K can be 3.

[0082] Exemplarily, the fault risk indicator needs to avoid being interfered by short-term noise; the early warning judgment shall be based on the results of consecutive time windows.

[0083] Exemplarily, short-term noise is avoided through time aggregation and hysteresis judgment: the RI of each window is first smoothed by a moving median or exponential moving average with a length of 3, and then an entry threshold T_high and a release threshold T_low (T_low<T_high) are set. An early warning is entered only when the smoothed RI exceeds T_high for K consecutive windows, or rises monotonically / overall for K consecutive windows with an increase exceeding the threshold; the early warning is released only when the smoothed RI is lower than T_low for M consecutive windows. In this way, a noise spike in a single window will not trigger an alarm, for example, K can be 3.

[0084] Exemplarily, consecutive window state machine judgment is performed on the chronologically arranged RI_m: let A_m represent RI_m>T_high, and T_m represent that the slope of the linear regression of the latest K windows is greater than s_min. When Σ_{j=m-K+1}^m A_j≥K (consecutive exceeding of the threshold), or T_m is satisfied and RI_m-RI_{m-K+1}>Δ_min, a level-1 risk is output; if the RI continues to rise and exceeds a higher threshold, the risk level is upgraded. No alarm is triggered if any condition only occurs in a single window. The thresholds, K, s_min and Δ_min are used to control the false alarm rate by the normal calibration set, and the lead time is verified with known fault data.

[0085] In this embodiment of the invention, each step can be executed by a power battery voltage prediction and early fault warning system. This system can be deployed in a single computer device or distributed across multiple devices. For example, the power battery voltage prediction and early fault warning system includes: a data acquisition module for acquiring power battery operating status data; a state observation module for estimating the internal physical state of the battery based on an equivalent circuit model; a voltage prediction module for performing multi-step voltage prediction based on a physically constrained deep learning model; a risk assessment module for statistically analyzing the voltage prediction residuals and calculating fault risk indicators; and a warning output module for outputting power battery fault warning information based on the risk assessment results. These modules are sequentially connected via data streams to collaboratively achieve the power battery voltage prediction and early fault warning functions.

[0086] Without departing from the overall technical concept of this invention, the order of the equivalent circuit model, the network structure of the deep learning model, the prediction time step, the sliding time window size, and the specific calculation method of the risk index can all be adjusted or replaced according to actual application needs, and their technical effects still fall within the protection scope of this invention.

[0087] For example, Figure 5 This is a schematic diagram of the battery internal state observation results in an embodiment of the present invention, wherein, Figure 5 (a) shows the estimation of the three voltage components in the equivalent circuit model. Figure 5 (b) shows a comparison between the estimated and measured values ​​of the battery terminal voltage. For example... Figure 5 As shown, historical time-series data is obtained through data acquisition, and operational status data is obtained after preprocessing. The internal physical state of the power battery is modeled in real time using an equivalent circuit model, which serves as the input to the deep learning model and provides physical constraints for subsequent deep learning models. The three voltage components are the open-circuit voltage U_oc, the ohmic voltage drop U_o, and the polarization voltage U_p. The terminal voltage satisfies U_L = U_oc - U_o - U_p (with the discharge current as positive). Figure 5 (a) The estimated sequences of U_oc, U_p, and U_o are displayed from top to bottom.

[0088] For example, the three voltage components are estimated as follows: U_o is obtained by multiplying the measured current I by the identified / updated R_o; U_p is predicted as the EKF state according to the discrete equation of the RC branch and corrected using the terminal voltage observation residual; U_oc is obtained by the SOC-OCV mapping and updated with the SOC estimated by the EKF, or corrected together as an extended state. The SOC-OCV mapping refers to the one-to-one correspondence between the battery SOC and the open circuit voltage (OCV).

[0089] For example, Figure 5In (b), the “estimated value” is reconstructed from the EKF outputs U_oc, U_o, and U_p using the formula Û_L = Û_oc - Û_o - Û_p. The “actual value” is the individual terminal voltage collected and uploaded by the vehicle-side BMS voltage sampling circuit at the same timestamp. The two are compared point by point after 2 seconds of time synchronization. The gray area / curve is |U_L - Û_L|, which is used to verify the usability of the state observation model.

[0090] For example, Figure 5 (a) This is used to verify whether the extended Kalman filter algorithm can dynamically decompose the terminal voltage into physically meaningful U_oc, U_p and U_o, where U_oc reflects the slowly varying equilibrium potential, U_p reflects the RC polarization dynamics, and U_o reflects the instantaneous ohmic voltage drop caused by the current. Figure 5 (b) The estimated terminal voltage reconstructed according to the ECM relationship is compared with the measured terminal voltage of the BMS, and the absolute error is given. This is to illustrate that although the above three voltage components cannot be directly measured, they can explain the measured terminal voltage after being combined. Therefore, the two figures together prove that the internal physical state output by the extended Kalman filter algorithm can be used as the input and constraint basis of the deep learning model.

[0091] For example, Figure 6 This is a schematic diagram illustrating the single-step prediction performance of a deep learning model in an embodiment of the present invention, wherein... Figure 6 (a) To test the overall voltage prediction performance of the test vehicle, the measured values, predicted values, and absolute errors of individual voltages are compared under all operating conditions of the test vehicle to evaluate the overall accuracy. In the figure, RMSE (Root Mean Square Error) = 0.00982 V, R 2 (Coefficient of Determination) = 0.9413, 95% absolute error = 0.01822 V. Figure 6 (b) To test the voltage prediction effect of the vehicle operating state, the vehicle operating conditions are shown separately, and a local magnified picture is used to illustrate that the prediction can still follow when the current fluctuates strongly, RMSE=0.0105 V. Figure 6 (c) Comparison of the prediction effect of the test vehicle charging status under different prediction window sizes. The prediction results of PWS (Past Window Size) = 1, 10 and 30 under the charging condition are shown. It is shown that the error increases with the increase of the prediction window, but still follows the trend. It also provides a basis for the selection of prediction time step. Figure 6(d) shows a comparison of the distribution fitting between the predicted voltage difference sequence and the true voltage difference sequence under single-step prediction. The three-component GMM fitting of the measured voltage difference and the predicted voltage difference is compared. The density shapes of the two are similar, indicating that the deep learning model has explained the main deterministic dynamics, and the remaining residuals can be used for subsequent distribution risk analysis. The four figures verify the availability of full-condition, operating-condition, multi-step charging prediction and residual statistics in turn. Figure 6 The quantitative indicators and distribution results support the following: the single-step full-condition RMSE is 0.00982 V, R 2 The value is 0.9413, and the 95% absolute error does not exceed 0.01822 V; the RMSE is 0.001852 V when the charging condition PWS=1. 2 The value is 0.9888, and the 95% absolute error is 0.00229 V. Figure 6 (d) shows that the GMM density of the predicted difference and the measured difference are very close, indicating that the main predictable dynamics have been captured by the deep learning model. The prediction error of the deep learning model with added physical information is small and close to the achievable error level limited by random perturbations in the data. It also shows the effect comparison under different prediction windows.

[0092] For example, due to the complexity of actual operating conditions, deep learning models can be trained separately for the running state and the charging state. When displaying the overall prediction effect, the separate prediction results are merged to calculate each indicator. For instance, a specific solution could be to model by operating condition domain: based on the vehicle's operating status identifier, charging connection status, and current characteristics, the operating status data is divided into two categories: "driving / running" and "charging." The two types of data are normalized separately and trained with deep learning models of the same structure but independent parameters. During online inference, the corresponding deep learning model is selected according to the current state; a transition buffer window can be retained near the switching of operating conditions, or the outputs of the two deep learning models can be weighted according to confidence. The overall test indicators do not merge the parameters of the two models, but rather concatenate the predicted values ​​and true values ​​corresponding to each operating condition in their original time order, and then calculate RMSE and R-values ​​uniformly. 2 With 95% absolute error, this avoids interference between the data distribution differences between charging and operating states.

[0093] For example, Figure 7 This is a schematic diagram of fault evolution analysis based on fitting the predicted residual distribution of operating voltage in an embodiment of the present invention, wherein, Figure 7 (a) is an example of fitting the residual distribution of predicted cell voltage for normal and abnormal cells under a representative time window. Figure 7 (b) shows the evolution of the distance between the voltage prediction residual distribution between abnormal cells and normal cells. Figure 7 (c) shows the evolution of the distance between the predicted voltage residuals between normal cells. Figure 7 (d) shows the evolution of the voltage prediction residual distribution of the abnormal battery cell. Figure 7 (e) shows the self-evolution process of the voltage prediction residual distribution of a normal battery cell. Each time window contains 5000 frames of data, the data sampling interval is 2s, and WD and JSD are two indicators of RI.

[0094] For example, firstly, a deep learning model with physical constraints designed at PWS=30 is used to predict the voltage of the studied battery cell, and the residual between the predicted and true values ​​is calculated. Then, a sliding window approach is used, with 5000 frames as a time window, and a three-component GMM is used to fit the distribution of the residual sequence. A representative window fitting example is shown below. Figure 7 As shown in (a), the light blue area represents the probability density of normal cells, the pink area represents the probability density of abnormal cells, the dark blue curve represents the probability density function of normal cells, and the dark red curve represents the probability density function of abnormal cells. Next, WD and JSD are used to quantitatively represent the similarity between distributions as a risk indicator for voltage faults.

[0095] The RI of the voltage prediction residual distribution between abnormal cells (Cell 55) and normal cells (Cell 6) within the same time window was calculated sequentially and plotted. Figure 7 (b) is used to reflect the evolution of inconsistencies between abnormal and normal cells over time from a lateral comparison perspective. Similarly, the RI of the voltage prediction residual distribution between normal cells (Cell 45 and Cell 6) within the same time window is calculated and plotted. Figure 7 (c) serves as a reference for the RI among inconsistent faulty cells. Simultaneously, the RI of the predicted residual distribution of the abnormal and normal cells within the current and previous time windows is calculated and plotted. Figure 7 (d) and Figure 7 (e) is used to reflect the evolution of the residual distribution of the cell itself before the failure from the perspective of longitudinal comparison.

[0096] from Figure 7As shown in (a), (b), and (d), the RI of the voltage prediction residual distribution before the fault for abnormal and normal cells exhibits a local fluctuation but an overall upward trend, indicating that the inconsistency between the two is increasing overall. From a short-term perspective, in the 13th to 15th time windows before the fault occurs, the risk indicators between abnormal and normal cells and between the abnormal cell itself continue to increase significantly, reaching a peak during the time window including the fault occurrence. This indicates that the power battery voltage prediction method provided in this application can effectively identify the pattern before the fault occurs and provide gradually increasing risk warnings 5000 to 10000 frames before the fault (considering the discontinuity of vehicle operation, the actual advance warning time is close to 12 hours). This helps users have enough time and sufficient attention to report to the service point and resolve the problem in advance before a forced power interruption occurs. From a long-term perspective, the evolution process shown by the power battery voltage prediction method provided in this application shows that in the fifth time window, i.e., 10 days before the fault, there is an abnormal surge in RI. Specifically, Figure 7 (b) shows that at time window 5, the WD between cells reached an extreme value that was even higher than that at time window 14. At this time, both risk indicators between abnormal cells exceeded six times that between normal cells for the first time. Figure 7 In (d), the self-evolving WD also shows an extreme value at time window 5. This indicates that, from the perspective of consistency between cells or consistency of battery behavior, the faulty cell has actually shown signs of failure at this time. The power battery voltage prediction method provided in this application successfully captures this signal and achieves early risk warning 10 days earlier than the relevant threshold-based BMS fault alarm method.

[0097] The embodiments of this invention mainly relate to the field of power battery technology for new energy vehicles, and particularly to a method, system and application of power battery voltage prediction and fault early warning based on physical constraint deep learning.

[0098] The power battery voltage prediction method provided in this invention can achieve early fault warning. For example, Figure 8 This is a schematic diagram of the algorithm framework for early fault warning based on power battery voltage prediction in an embodiment of the present invention, as shown below. Figure 8As shown, the operating status data of the power battery is acquired, including battery status data and vehicle status data. The internal physical state of the power battery is obtained through online observation of its internal state. This online observation includes an equivalent circuit model and an extended Kalman filter algorithm. The equivalent circuit model establishes a physical relationship between the battery terminal voltage and the internal state. Based on this physical relationship, the extended Kalman filter algorithm is used to estimate the internal physical state of the power battery online. The operating status data and the internal physical state are then input into a deep learning model to obtain the predicted voltage output. The loss function of the deep learning model includes a physical constraint loss term (i.e., the physical constraint loss function), which is provided by the equivalent circuit model. Finally, the voltage dynamic response component decomposition and prediction performance evaluation can be performed based on the prediction results of the deep learning model.

[0099] The power battery voltage prediction method provided in this invention has at least the following beneficial effects: 1. By combining battery operating status data with the battery's internal physical state and inputting it into a physically constrained deep learning model, multi-step voltage prediction is achieved. Compared to traditional methods based solely on data-driven or physical models, this invention significantly reduces prediction errors and improves prediction accuracy and robustness under complex real-world conditions.

[0100] 2. By introducing a physical constraint loss term from an equivalent circuit model during the deep learning model training process, the prediction results are made consistent with the actual electrochemical laws of batteries. Compared with models that rely solely on data correlation, this embodiment of the invention can reduce prediction drift and physical inconsistencies, thereby improving the reliability and interpretability of the prediction results.

[0101] 3. By combining the extended Kalman filter algorithm, online estimation of the battery's open-circuit voltage, ohmic internal resistance, and polarization voltage components is performed, providing physical information input for the deep learning model. This feature can effectively characterize the battery's rapid dynamic response, improving the model's adaptability to complex loads and operating conditions.

[0102] 4. Battery anomalies are modeled based on predicted residual distribution, and risk indicators are quantified using distribution distance to achieve continuous monitoring before failures occur. Compared to traditional threshold-based passive alarm methods, this invention can identify potential faults several days in advance, providing sufficient time for vehicle control systems and users to respond and improving driving safety.

[0103] 5. The design relies on onboard data and cloud computing, requiring no additional sensors or complex hardware modifications, making it easy to deploy in a BMS system. Compared to solutions requiring complex calibration or additional hardware, this invention is cost-effective while maintaining high predictive accuracy and fault identification capabilities.

[0104] The technical solution of the power battery voltage prediction method provided in this embodiment of the invention includes: acquiring the operating state data of the power battery; estimating the internal physical state of the power battery based on the equivalent circuit model of the power battery; and predicting the voltage of the power battery using a physical constraint-based deep learning model according to the operating state data and the internal physical state of the power battery. This method can reduce the prediction error of the power battery voltage under complex real-world operating conditions and improve the prediction accuracy.

[0105] Figure 9 This is a schematic diagram of the structure of a power battery voltage prediction device provided in an embodiment of the present invention, as shown below. Figure 9 As shown, the device includes: The processing module 11 is used to acquire the operating status data of the power battery; estimate the internal physical state of the power battery based on the equivalent circuit model of the power battery; and predict the voltage of the power battery using a deep learning model based on physical constraints, according to the operating status data and internal physical state of the power battery.

[0106] In some possible embodiments, the processing module 11 is specifically used to acquire historical time series data of the power battery during actual operation; and to sample the historical time series data according to a preset sampling interval to obtain the operating status data.

[0107] In some possible embodiments, before sampling the historical time series data according to a preset sampling interval, the processing module 11 is also used to preprocess the historical time series data, the preprocessing including time synchronization processing, outlier removal processing and missing value imputation processing.

[0108] In some possible embodiments, the processing module 11 is specifically used to establish the physical relationship between the battery terminal voltage and the internal state of the power battery based on the equivalent circuit model; based on the physical relationship, the internal state of the power battery is estimated online by the extended Kalman filter algorithm to obtain the internal physical state.

[0109] In some possible embodiments, the processing module 11 is specifically used to establish, based on the equivalent circuit model and according to the convention of positive current direction, the physical relationship between the battery terminal voltage and the open-circuit voltage, ohmic voltage drop and polarization voltage of the power battery.

[0110] In some possible embodiments, the processing module 11 is specifically used to estimate the open-circuit voltage, the ohmic voltage drop, and the polarization voltage online based on the physical relationship using an extended Kalman filter algorithm to obtain the internal physical state.

[0111] In some possible embodiments, the processing module 11 is specifically used to input the operating state data and the internal physical state into the deep learning model to obtain predicted values ​​of the terminal voltage, open circuit voltage, ohmic voltage drop and polarization voltage of the power battery.

[0112] In some possible embodiments, the loss function of the deep learning model during training includes a physical constraint loss term of the equivalent circuit model.

[0113] In some possible embodiments, the equivalent circuit model is a first-order Thevenin equivalent circuit model.

[0114] In some possible embodiments, the processing module 11 is further configured to obtain a residual sequence of the predicted power battery voltage based on the measurement sequence of the power battery voltage and the prediction sequence output by the deep learning model; within a preset sliding time window, statistical modeling is performed on the residual sequence to obtain residual distribution features reflecting the current battery operating state, and the residual distribution features are used to distinguish between predictable deterministic components and irreducible random disturbance components.

[0115] In some possible embodiments, the processing module 11 is further configured to obtain a fault risk index based on the predicted residual distribution of the deep learning model within the current time window; when the fault risk index shows an upward trend over time in the first preset time period or when the fault risk index exceeds a preset threshold, the power battery is determined to have a potential fault risk and fault warning information is output.

[0116] In the technical solution provided by the embodiments of the present invention, the operating status data of the power battery is obtained; the internal physical state of the power battery is estimated based on the equivalent circuit model of the power battery; and the voltage prediction of the power battery is performed by a deep learning model based on physical constraints according to the operating status data and the internal physical state of the power battery. This can reduce the prediction error of the power battery voltage under complex real working conditions and improve the prediction accuracy.

[0117] This application provides a storage medium that includes a stored program, wherein the program controls the device where the storage medium is located to execute the above-described method when it is running.

[0118] This application provides a computer device including a memory and a processor. The memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions. When the program instructions are loaded and executed by the processor, they implement the steps of the above-described method.

[0119] Figure 10 This application provides a schematic diagram of the structure of a computer device, as shown in the embodiment of the present application. Figure 10As shown, the computer device 20 includes a processor 21, a memory 22, and a computer program 23 stored in the memory 22 and executable on the processor 21. When the computer program 23 is executed by the processor 21, it implements the power battery voltage prediction method in the embodiment. To avoid repetition, it will not be described in detail here.

[0120] Computer device 20 includes, but is not limited to, processor 21 and memory 22. Those skilled in the art will understand that... Figure 10 This is merely an example of computer device 20 and does not constitute a limitation on computer device 20. It may include more or fewer components than shown, or combine certain components, or different components. For example, computer device 20 may also include input / output devices, network access devices, buses, etc.

[0121] The processor 21 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. A general-purpose processor may be a microprocessor or any conventional processor.

[0122] The memory 22 can be an internal storage unit of the computer device 20, such as a hard disk or RAM of the computer device 20. The memory 22 can also be an external storage device of the computer device 20, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the computer device 20. Furthermore, the memory 22 can include both internal and external storage units of the computer device 20. The memory 22 is used to store computer programs and other programs and data required by the computer device 20. The memory 22 can also be used to temporarily store data that has been output or will be output.

[0123] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0124] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.

[0125] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0126] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units.

[0127] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0128] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A method for predicting the voltage of a power battery, characterized in that, The method includes: Acquire the operating status data of the power battery; The internal physical state of the power battery is estimated based on the equivalent circuit model of the power battery. Based on the operating status data and internal physical state of the power battery, a deep learning model based on physical constraints is used to predict the voltage of the power battery.

2. The method according to claim 1, characterized in that, The acquisition of the operating status data of the power battery includes: Obtain historical time series data of the power battery during actual operation; The historical time series data is sampled according to a preset sampling interval to obtain the operating status data.

3. The method according to claim 1, characterized in that, The estimation of the internal physical state of the power battery based on the equivalent circuit model of the power battery includes: The physical relationship between the battery terminal voltage and internal state of the power battery is established based on the equivalent circuit model. Based on the physical relationship, the internal state of the power battery is estimated online using the extended Kalman filter algorithm to obtain the internal physical state.

4. The method according to claim 3, characterized in that, The establishment of the physical relationship between the battery terminal voltage and internal state of the power battery based on the equivalent circuit model includes: Based on the equivalent circuit model, and according to the convention of positive current direction, the physical relationship between the battery terminal voltage and the open-circuit voltage, ohmic voltage drop and polarization voltage of the power battery is established.

5. The method according to claim 4, characterized in that, Based on the physical relationship, the internal state of the power battery is estimated online using the extended Kalman filter algorithm to obtain the internal physical state, including: Based on the physical relationship, the open-circuit voltage, the ohmic voltage drop, and the polarization voltage are estimated online using the extended Kalman filter algorithm to obtain the internal physical state.

6. The method according to claim 1, characterized in that, The step of predicting the voltage of the power battery using a physical constraint-based deep learning model based on the operating state data and internal physical state of the power battery includes: The operating status data and the internal physical state are input into the deep learning model to obtain the predicted values ​​of the terminal voltage, open circuit voltage, ohmic voltage drop and polarization voltage of the power battery.

7. The method according to claim 1, characterized in that, The loss function of the deep learning model during training includes the physical constraint loss term of the equivalent circuit model.

8. The method according to claim 1, characterized in that, Also includes: The residual sequence of the power battery voltage prediction is obtained based on the measurement sequence of the power battery voltage and the prediction sequence output by the deep learning model. Within a preset sliding time window, the residual sequence is statistically modeled to obtain residual distribution characteristics that reflect the current battery operating state. These residual distribution characteristics are used to distinguish between predictable deterministic components and irreducible random perturbation components.

9. The method according to claim 8, characterized in that, Also includes: The fault risk index is obtained based on the predicted residual distribution of the deep learning model within the current time window. When the fault risk index shows an upward trend over a first preset time period or when the fault risk index exceeds a preset threshold, it is determined that the power battery has a potential fault risk and fault warning information is output.

10. A power battery voltage prediction device, characterized in that, include: The processing module is used to acquire the operating status data of the power battery; The internal physical state of the power battery is estimated based on the equivalent circuit model of the power battery. Based on the operating status data and internal physical state of the power battery, a deep learning model based on physical constraints is used to predict the voltage of the power battery.