A soh estimation method and system based on dynamic constraint fusion
By using a dynamic constraint fusion network, the local polarization and global aging characteristics of retired batteries are decoupled, solving the problems of temporal distortion and cross-system forgetting in the SOH estimation of retired batteries. This achieves high-precision SOH estimation and supports battery management and reconfiguration under complex operating conditions.
Patent Information
- Application Number
- CN202611451274.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-18
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2046-09-18
AI Technical Summary
Existing technologies face challenges in assessing the state of health (SOH) of retired power batteries, including time-series distortions caused by highly irregular operating conditions, pseudo-SOH label jumps caused by partial charge and discharge, and catastrophic forgetting across chemical systems, making it difficult to achieve rapid and accurate SOH estimation.
A dual-stream architecture combining a liquid neural network and causal attention is constructed using a dynamic constraint fusion network approach to decouple local polarization and global aging features. Through jump-aware physical loss and differential fine-tuning strategies, robust estimation across systems is achieved.
It successfully decouples transient fluctuations and global aging patterns under micro-circulation conditions, avoids the risk of gradient tearing, achieves high-precision and rapid calibration of heterogeneous retired batteries, and provides battery management and retirement reorganization solutions under complex operating conditions.
Smart Images

Figure CN122964508B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of new energy technology and relates to power battery retirement technology, specifically to a SOH estimation method and system based on dynamic constraint fusion network. Background Technology
[0002] With the rapid development of the new energy vehicle industry, the large-scale application of power batteries in complex operating scenarios and in the reorganization of retired batteries (capacity decayed to 80% of rated capacity) is increasing. Rapid and accurate assessment of their State of Health (SOH) is a prerequisite for evaluating the remaining value and safety of retired batteries. Currently, deep learning methods combined with physical priors have become the mainstream for SOH estimation. However, existing technologies reveal three significant generalization bottlenecks when applied to practical engineering scenarios. First, retired batteries often operate under highly irregular shallow charge and discharge conditions during service, leading to voltage and current timing distortions and severely incomplete incremental capacity characteristics. Traditional timing networks struggle to effectively decouple transient polarization fluctuations under fragmented operating conditions from long-term global decay trends, easily losing multi-dimensional aging feature mappings in complex micro-cycles. Second, this partial charge and discharge also causes pseudo-SOH labels calculated based on single discharge amounts to exhibit abrupt and discrete jumps. Because the prior assumptions of the existing physical model (PINN) are all based on a continuous degradation process, its rigid smoothing constraints will cause severe gradient conflicts and tearing when faced with label jumps caused by abrupt changes in operating conditions, leading to model collapse. Finally, the chemical systems of retired batteries are complex, with significant distributional shifts between different systems (such as lithium iron phosphate and ternary lithium). Under the constraint of a very small number of target samples, conventional domain adaptive fine-tuning is prone to falling into local overfitting and causing irreversible and catastrophic forgetting of the general physical priors fixed in the pre-trained model. Summary of the Invention
[0003] To address the shortcomings of existing technologies, this invention proposes a SOH estimation method and system based on a dynamically constrained fusion network. It uses multimodal data as input to construct a dual-stream architecture combining a liquid neural network and causal attention, accurately decoupling local polarization and global aging features. During cross-domain migration, it introduces a jump-aware physical loss and a differential fine-tuning strategy to adaptively exempt gradient penalties under distortion conditions. This invention achieves highly robust estimation across systems with minimal sample size, providing solid support for battery retirement decisions.
[0004] In one aspect, this invention provides a SOH estimation method based on a dynamic constraint fusion network, comprising the following steps:
[0005] S1. Obtain the full life cycle charge and discharge data of the source domain battery as a pre-training set, obtain a very small amount of charge and discharge data of the unknown system battery in the target domain as a transfer fine-tuning set, and divide the corresponding validation set; the data specifically includes the following three items: first, voltage, current, and temperature time series data after resampling and normalization; second, the calculated incremental capacity curve data; and third, the corresponding normalized cycle number data.
[0006] S2. Construct a battery health state estimation model, input the pre-training set, and obtain the estimated health state value of the target battery. The specific process is as follows:
[0007] The normalized voltage, current, and temperature time-series data are input into a multi-scale one-dimensional convolutional network to obtain initial time-series micro-features, and the incremental capacity curve data are input into a coordinate attention multi-scale one-dimensional convolutional network to obtain electrochemical phase transition features. The two outputs are concatenated to obtain multi-dimensional micro-features. The normalized cycle number is input into a multilayer perceptron and mapped to a position code. The multi-dimensional micro-features are input into a liquid neural network equipped with an ordinary differential equation solver for continuous integral evolution, and the output short-term aging momentum is concatenated with the multi-dimensional micro-features and position codes to generate instantaneous physical flow features for each cycle. These are then concatenated into a historical instantaneous physical flow sequence according to the position code. All historical instantaneous physical flow sequences are input into a causal multi-head latent attention network to extract macroscopic dynamic flow features. The instantaneous physical flow features of the current cycle are used as conditional variables to generate gating weights. The macroscopic dynamic flow features are then projected, corrected, and weighted before being connected through residuals to generate dual-flow fusion features. Finally, the dual-flow fusion features are input into a dynamic radial basis function network regression head to output the target battery's health state estimate.
[0008] S3. Input the pre-trained set into the battery health state estimation model described in S2, use the real health state label as the supervision signal to perform forward propagation and backward differentiation, iteratively update the network parameters, and obtain the pre-trained model.
[0009] S4. Input the transfer fine-tuning set into the pre-trained model for small-sample fine-tuning. During the fine-tuning stage, calculate the rate of change of the true health status label of adjacent time steps. If the absolute value of the rate of change is less than or equal to a preset jump threshold, apply the fine-tuning fitting loss and the physical smoothing constraint loss including first-order velocity and second-order acceleration to the health status estimate of the model normally. If the absolute value of the rate of change is greater than the jump threshold, determine that a local working condition jump has occurred, and adaptively generate an exemption mask to set the physical smoothing constraint loss of the corresponding time step to zero, retaining only the fine-tuning fitting loss. Subsequently, based on the calculated loss value, apply a first learning rate to the backbone network and apply a second learning rate greater than the first learning rate to the normalization layer and the regression head of the dynamic radial basis network, thereby updating the differential parameters.
[0010] S5. During the testing phase, the validation set is input into the pre-trained model after small-sample fine-tuning, and the error evaluation index between the predicted health status and the actual health status is calculated. Based on the feedback of the error evaluation index, the learning rate is dynamically adjusted and step S4 is executed iteratively. When the error evaluation index meets the preset convergence condition or triggers the early stopping mechanism, the iteration is stopped, and the battery health status estimation model in the optimal state is saved for online health assessment of retired batteries.
[0011] In another aspect, the present invention also provides a SOH estimation system based on dynamic constraint fusion, comprising the following modules:
[0012] The charge / discharge data module is used to acquire the full life cycle charge / discharge data of the source domain battery as a pre-training set, acquire the charge / discharge data of the unknown system battery in the target domain as a transfer fine-tuning set, and divide the corresponding validation set.
[0013] The battery health state estimation module is used to build a battery health state estimation model. It takes a pre-training set as input to obtain the estimated health state of the target battery, and trains the model using the real health state labels as supervision signals to obtain a pre-trained model.
[0014] The fine-tuning module is used to input the transfer fine-tuning set into the pre-trained model for few-sample fine-tuning.
[0015] The testing module is used during the testing phase to input the validation set into the pre-trained model after fine-tuning with a small number of samples, and output the corresponding SOH estimation results for online health assessment of retired batteries.
[0016] The present invention has the following beneficial effects:
[0017] This invention designs a state-conditionally gated dual-stream network architecture, utilizing the ordinary differential equation evolution of a liquid neural network to accurately capture transient polarization momentum, and combining it with a causal attention mechanism to extract long-range decay trends. This architecture successfully decouples transient fluctuations from global aging patterns under micro-circulation conditions, solving the bottleneck of traditional temporal networks easily losing multi-dimensional features in fragmented chemical conditions. Furthermore, to address the abrupt jumps in health state pseudo-labels caused by local shallow charging and discharging, this invention proposes a jump-aware equilibrium physical loss mechanism. By dynamically generating exemption masks to adaptively zero out local physical gradient penalties, it avoids the gradient tearing and model collapse risks caused by traditional continuous physical constraints when facing discrete, abruptly changing data, ensuring evaluation robustness under extreme fluctuation conditions. In addition, for cross-chemical system migration scenarios with very few samples, the differential fine-tuning strategy adopted in this invention effectively overcomes the catastrophic forgetting caused by traditional cross-domain training, separating general aging dynamics from specific system polarization characteristics. This invention enables high-precision and rapid calibration of heterogeneous retired batteries without the need for expensive long-cycle testing, providing a highly practical engineering solution for battery management and regeneration under complex operating conditions. Attached Figure Description
[0018] Figure 1 This is a schematic diagram of the network structure in an embodiment of the present invention;
[0019] Figure 2 This is a schematic diagram of small-sample fine-tuning and testing in an embodiment of the present invention. Detailed Implementation
[0020] The present invention will be further explained below with reference to the accompanying drawings;
[0021] like Figure 1 and Figure 2 As shown, one aspect of the present invention provides a SOH estimation method based on a dynamic constraint fusion network, comprising the following steps:
[0022] S1. Obtain the full life cycle charge-discharge data of the source domain battery as a pre-training set, obtain a very small amount of charge-discharge data of the unknown system battery in the target domain as a transfer fine-tuning set, and divide the corresponding validation set; the charge-discharge data all include voltage, current, and temperature time-series data after resampling and normalization. and the calculated incremental capacity curve data And the normalized cycle number data.
[0023] S2. The normalized voltage, current, and temperature time-series data are input into a multi-scale one-dimensional convolutional network to obtain initial time-series micro-features, and the incremental capacity curve data are input into a coordinate attention multi-scale one-dimensional convolutional network to obtain electrochemical phase transition features. The two outputs are concatenated to obtain multi-dimensional micro-features. The normalized cycle number is input into a multilayer perceptron and mapped to a position code. The multi-dimensional micro-features are input into a liquid neural network equipped with an ordinary differential equation solver for continuous integral evolution. The output short-term aging momentum is concatenated with the multi-dimensional micro-features and position codes to generate instantaneous physical flow features for each cycle, and concatenated into a historical instantaneous physical flow sequence according to the position code. All historical instantaneous physical flow sequences are input into a causal multi-head latent attention network to extract macroscopic dynamic flow features. The instantaneous physical flow features of the current cycle are used as conditional variables to generate gating weights. The macroscopic dynamic flow features are projected, corrected, and weighted before being connected through residuals to generate dual-flow fusion features. Finally, the dual-flow fusion features are input into a dynamic radial basis function network regression head to output the target battery health state estimate.
[0024] S2-1, Constructing a multi-scale temporal polarization feature extraction module: Addressing the transient polarization phenomenon of batteries under complex operating conditions, this module extracts the normalized temporal data from S1. The inputs are fed into four parallel convolution branches with different one-dimensional convolution kernel sizes, and activated by Gaussian error linear units (GELUs) to capture multi-band polarization responses ranging from instantaneous impulses to long-term fluctuations.
[0025]
[0026] in, Indicates the first The output features of each convolutional branch Indicates the kernel size as One-dimensional convolution operation. In the invention, The values are 1, 3, 9, and 27, respectively. The features output from the four parallel branches are concatenated along the channel dimension, flattened, and then sequentially input into the Dropout layer and the multilayer perceptron for dimensionality reduction mapping, outputting multidimensional micro-features.
[0027] S2-2, Constructing an electrochemical feature extraction module based on coordinate attention: To accurately capture the key electrochemical phase transition peaks reflecting the loss of active lithium in the incremental capacity curve, the input is based on the flattened incremental capacity curve in S1. This module uses a one-dimensional coordinate attention mechanism to generate a spatial saliency mask, which adaptively guides the feature extraction vision of subsequent multi-scale convolutional kernels. The specific extraction process is as follows: First, for the input... Adaptive average pooling is performed along the sequence dimension to obtain the feature aggregation vector z, which is then sequentially processed by dimensionality-reduced point convolution, batch normalization (BN), Hardswish activation, dimensionality-increasing point convolution, and the Sigmoid function. Mapping, and calculating the attention weight matrix. That is, spatial saliency mask:
[0028]
[0029] in, and represents the convolution weights for dimensionality reduction and dimensionality increase, respectively, and BN represents the batch normalization operation.
[0030] Next, input features Spatial saliency mask Element-wise multiplication yields coordinate-enhanced features, which are then input in parallel into one-dimensional convolutional branches with kernel sizes of 3 and 9. After GELU activation and channel concatenation, these features are further processed by a multilayer perceptron for dimensionality reduction mapping, outputting electrochemical phase transition features. .
[0031] S2-3, Feature Normalization and Microstate Concatenation: This involves processing multidimensional micro-features... Characteristics of electrochemical phase transition Perform layer normalization to obtain standardized features. and Then extract the current time step. The standardized features are then combined with the two features along the feature dimension to form a multidimensional micro-feature characterizing the overall health status of the battery at the current moment. This serves as the input for the subsequent liquid neural network:
[0032]
[0033]
[0034]
[0035] Here, LayerNorm represents the layer normalization operation. and These represent the standardized time-series characteristic sequence and the electrochemical phase transition characteristic sequence, respectively. and These represent the two standardized feature sequences mentioned above at the current time step. The local feature slices are represented by Concat, which indicates the concatenation operation.
[0036] S2-4. Continuous Evolution of Liquid Neural Networks Based on Runge-Kutta Integrals: Integrating the Multidimensional Microscopic Features Described in S2-3 As input to the current time step of the liquid neural network, a hidden state vector representing the accumulated aging history of the battery is introduced. (at the initial moment) initial state at time (Initialized to a zero vector), given the hidden state from the previous time step. First, the nonlinear state mapping is calculated using a multilayer perceptron. :
[0037]
[0038] in, These are the learnable parameters of the multilayer perceptron. This represents channel splicing; based on this nonlinear state mapping, an ordinary differential equation driven by the liquid time constant is constructed:
[0039]
[0040] in, Indicates continuous time The continuous hidden state function of evolution (the hidden state vector introduced above) and That is, the numerical solution of the continuous function at the corresponding discrete time step. This is the equilibrium state bias vector. The inverse time constant is calculated based on learnable parameters. This represents the element-wise multiplication operation; the second-order Runge-Kutta algorithm is used to numerically integrate the ordinary differential equation, and a dynamic time step is set. The calculation process is as follows:
[0041]
[0042]
[0043]
[0044]
[0045] in, To combine the multidimensional microscopic features at the current moment And based on the hidden state of the previous moment The calculated state mapping; To combine the multidimensional microscopic features at the current moment And based on the predicted state The calculated state mappings all share the learnable parameters of the multilayer perceptron. After integrating the entire sequence, the short-term aging momentum is output. .
[0046] S2-5. Constructing the instantaneous physical flow sequence: This involves processing the short-term aging momentum described in S2-4. Standardized aging momentum characteristics are obtained by performing layer normalization. Simultaneously, the normalized cycle number of the battery is input into a multilayer perceptron and mapped using the SiLU activation function to obtain the position code. ; at the current time step By combining the above features, the first feature is constructed. The instantaneous physical flow characteristics of a cycle. Then iterates through all within a given time window. A series of consecutive loops are used to stack and concatenate the real-time physical flow features of each time step according to the time series dimension, thereby constructing a historical real-time physical flow sequence. :
[0047]
[0048]
[0049]
[0050] in, This represents the instantaneous physical flow feature containing local spatiotemporal evolution information at time step t. It is a historical real-time physical flow sequence.
[0051] S2-6. Extracting macroscopic dynamic flow based on causal multi-head latent attention: extracting the historical real-time physical flow sequence After linear mapping, the input is fed into a multi-head latent attention mechanism network to extract long-range historical dependencies. During attention computation, a causal lower triangular mask constraint is enforced to prevent future data leakage, and conventional relative positional encoding is abandoned, forcing the model to rely on the aforementioned positional encoding. Perform time-series correlation calculations and output macroscopic dynamic flow characteristics. .
[0052] S2-7. Dual-flow feature fusion based on state condition gating: fusing the macroscopic dynamic flow features By aligning dimensions through linear projection, the corrected macroscopic features are obtained. Simultaneously, using the instantaneous physical flow features of the current time step as conditional input, dynamic attention weights are generated through a gating network. :
[0053]
[0054] in, The linear mapping layer is represented by a parameter; to prevent early noise contamination, the initial value of the bias parameter of the last layer of the gated network is set to a negative value; subsequently, the modified macroscopic features are multiplied and weighted using the dynamic attention weights, and then added to the instantaneous physical flow features through residual connections to output the dual-stream fusion features. :
[0055]
[0056] S2-8. Health status regression based on dynamic radial basis function network: The dual-stream fusion features are then... The input is fed into a regression network driven by a dynamic radial basis function; for feature input, the basis features are first output through a basic linear layer, and a learnable dynamic Gaussian grid node set is constructed. Dynamically calculate the Gaussian kernel standard deviation :
[0057]
[0058] in, Indicates the half-width of the grid coverage area. This indicates the number of grid nodes; subsequently, the two-stream fusion features are calculated. The squared residuals of the nodes in the dynamic Gaussian grid are used to generate the radial basis activation weights. and with the learnable spline weight matrix Tensor contraction and summation are performed to obtain the nonlinear spline output. :
[0059]
[0060]
[0061] in, This represents the tensor contraction summation operation; finally, the basis features are added to the nonlinear spline output to finally output the health state estimate of the target battery.
[0062] S3. Input the pre-trained set into the battery health state estimation model, use the real health state label as the supervision signal to perform forward propagation and backward differentiation, iteratively update the network parameters, and obtain the pre-trained model.
[0063] S3-1, Constructing Pre-training Data Batches: Divide the pre-training set obtained in S1 into a training set and a validation set, and generate data batches containing multi-dimensional input features and corresponding real health status labels:
[0064]
[0065] in, Indicates the source domain data batch. Indicates batch size, Indicates the source domain battery number The input feature sequence of each sample, This represents the corresponding sequence of labels indicating the actual health status.
[0066] S3-2, Forward Propagation Calculation: Input the data batch described in S3-1 into the battery health state estimation model constructed in S2, perform calculations according to the forward propagation process described in steps S2-1 to S2-8, and output the health state estimate of the current batch of source domain batteries. .
[0067] S3-3, Calculating the higher-order dynamic-aware physical loss function: To enable the model to fully learn the long-term continuous degradation law of the source domain battery, the pre-training fitting loss is calculated using the real health state label as the supervision signal. At the same time, the first-order decay rate, the second-order acceleration convexity, and the monotonicity prior are introduced to construct the higher-order dynamic-aware physical loss function:
[0068]
[0069] in, This represents the total pre-training loss function. This represents the pre-training fitting loss (i.e., the mean square error between the estimated value and the true value). The first-order velocity constraint loss represents the constraint on the decay rate of adjacent time steps. The second-order acceleration convexity constraint loss represents the curvature of the constraint degradation curve. This represents the monotonicity constraint loss that penalizes abnormal capacity rebound. , , These represent the balance coefficients for the losses of each physical constraint.
[0070] S3-4, Backpropagation and Adaptive Learning Rate Update: Based on the Calculated Pre-training Loss Function The adaptive moment estimator optimizer is used to perform back-derivative calculations to compute the gradients of each learnable parameter in the network model, and then iteratively updates the model.
[0071]
[0072] in, This represents the learnable parameters of the current network model. This represents the pre-training learning rate for the current iteration step. This represents the gradient of the pre-training loss function with respect to the parameters. This represents the updated network parameters. Simultaneously, during pre-training, an adaptive learning rate decay strategy based on validation set error is employed. When the validation error no longer decreases within a preset period, the pre-training learning rate is automatically reduced proportionally. This is to avoid local oscillations and accelerate network convergence.
[0073] S3-5, Model Convergence and Prior Consolidation: The model performance is periodically evaluated on the validation set, and the mean absolute error (MAE) is calculated. When the MAE does not improve within several consecutive iterations, an early stopping mechanism is triggered to stop training, and the model parameters at the point of minimum validation error are saved, resulting in the source domain pre-trained model. This model internally consolidates the physical priors of the full life cycle aging dynamics of the source domain battery, providing basic weights for subsequent low-cost transfer fine-tuning in the target domain.
[0074] S4. Input the transfer fine-tuning set into the pre-trained model for small-sample fine-tuning. During the fine-tuning stage, calculate the rate of change of the true health status label of adjacent time steps. If the absolute value of the rate of change is less than or equal to a preset jump threshold, apply the fine-tuning fitting loss and the physical smoothing constraint loss including first-order velocity and second-order acceleration to the health status estimate of the model normally. If the absolute value of the rate of change is greater than the jump threshold, determine that a local working condition jump has occurred, and adaptively generate an exemption mask to set the physical smoothing constraint loss of the corresponding time step to zero, retaining only the fine-tuning fitting loss. Subsequently, based on the calculated loss value, apply a first learning rate to the backbone network and apply a second learning rate greater than the first learning rate to the normalization layer and the regression head of the dynamic radial basis network, thereby updating the differential parameters.
[0075] S4-1. Calculating the Tag Change Rate and Adaptively Generating Exemption Codes: To address the issue of abrupt changes in pseudo-health status tags caused by irregular charging and discharging conditions in retired batteries, during the target domain fine-tuning stage, the absolute value of the change rate of the true health status tags in adjacent time steps is first calculated: in, and They represent the first With the A real health status label at each time step. This represents the absolute value of the calculated label change rate; a preset jump threshold is set, and the absolute value of the label change rate is compared with the threshold step by step to adaptively generate an exemption code for controlling physical penalties:
[0076]
[0077] in, Indicates the first Exemption coding for each time step, This indicates a preset jump threshold; when the absolute value of the rate of change is greater than the jump threshold, it is determined that a discrete jump has occurred at the corresponding time step, and the mask is forcibly set to 0 to exempt physical constraints.
[0078] S4-2. Constructing the jump-aware equilibrium physical loss function: Based on the health state estimate and the true health state label output by the model, calculate the fine-tuning fitting loss and the physical smoothing constraint loss of the first-order velocity and second-order acceleration controlled by the exemption encoding, respectively.
[0079]
[0080]
[0081]
[0082]
[0083] in, This indicates fine-tuning the fitting loss. , These represent the estimated health status and the actual health status, respectively. This represents the smoothed L1 loss function; This represents the first-order velocity constraint loss. , These represent the first differences between the estimated value and the true value, respectively; This represents the loss due to the convexity constraint of the second-order acceleration. , These represent the second difference between the estimated value and the true value, respectively; This represents the total physical loss due to the abrupt change in perception equilibrium. , This represents the balance coefficient.
[0084] S4-3. Network parameter update based on differential learning strategy: based on the calculated jump-aware equilibrium physical total loss. Backpropagation is performed. During the parameter update phase, to overcome catastrophic forgetting in cross-domain transfer and achieve efficient distribution alignment, a differential learning rate strategy is implemented on the network model:
[0085]
[0086]
[0087] in, This represents the backbone parameters of the network responsible for extracting features of general aging chemical conditions (including multi-scale convolutional networks, liquid neural networks, and multi-head latent attention networks). This represents the first learning rate applied to the backbone network; This represents the normalized layer and dynamic radial basis function network regression head parameters responsible for the feature mapping of a specific chemical system. This represents the second learning rate applied to this part; and strictly satisfies It protects general physical priors with an extremely low backbone learning rate and accelerates target domain adaptation with a higher regression learning rate.
[0088] S4-4. Learning Rate Scheduling Based on Cosine Annealing Restart: Throughout the fine-tuning iteration, the conventional decay strategy is abandoned, and a cosine annealing restart mechanism is used to periodically schedule the global learning rate.
[0089]
[0090] in, This represents the actual learning rate at the current iteration step. and These represent the lower and upper bounds of the learning rate, respectively. This indicates the number of iterations since the last restart. This represents the total number of iterations in the current restart cycle. This mechanism effectively helps the model escape local minima under the constraint of fine-tuning with very few samples by periodically increasing the learning rate, thereby improving cross-domain generalization accuracy.
[0091] S5. During the testing phase, the validation set is input into the pre-trained model after small-sample fine-tuning, and the error evaluation index (such as mean absolute error) between the predicted health status and the actual health status is calculated. Based on the feedback of the error evaluation index, the initial learning rate is dynamically adjusted and step S4 is executed iteratively. When the error evaluation index meets the preset convergence condition or triggers the early stopping mechanism, the iteration is stopped, and the battery health status estimation model in the optimal state is saved for online health assessment of retired batteries.
[0092] S5-1. Calculate Prediction Error Evaluation Metrics: After each iteration of the target domain fine-tuning phase, freeze the network parameters, input the target domain validation set into the current model, and output the health status estimate of the validation set samples. Using the corresponding true health status labels as benchmarks, calculate the mean absolute error (MAE), root mean square error (RMSE), and mean absolute percentage error (MAPE) as evaluation metrics:
[0093]
[0094]
[0095]
[0096] in, This represents the true SOH value. This represents the estimated SOH value. This represents the total number of samples, i.e., the battery charge-discharge cycle times. MAE and RMSE measure the absolute magnitude and variance level of the prediction error, respectively, while MAPE reflects the magnitude of the relative error of the prediction result.
[0097] S5-2. Optimal Model Saving Based on Early Stopping Mechanism: Set a maximum tolerance period counter and a historical minimum error record. Compare the MAE calculated in the current iteration cycle with the historical minimum error: if the current MAE is smaller, update the historical record, reset the counter to zero, and save the current network parameters; if the number of consecutive times the current MAE does not decrease reaches the threshold set by the maximum tolerance period counter, trigger the early stopping mechanism, terminate training, and output the optimal battery health state estimation model with the smallest MAE in the historical record.
[0098] The network performance was verified using the input test set data. The relevant model parameters and test results are shown in Table 1 below.
[0099] Table 1
[0100]
[0101] Among them, the fusion network of the present invention has the best performance index on the test set for the SOH prediction model of retired batteries, with MAE, RMSE and MAPE of 0.092%, 0.164% and 0.091%, respectively.
[0102] CNNs, with their limited receptive field, struggle to capture long-term global degradation trends; LSTMs are prone to memory confusion and gradient collapse when processing extremely long sequences; while baseline networks based on self-attention, such as Transformer, Informer, and PatchTST, possess long-range or local temporal perspectives, they lack the continuity constraints of physical dynamics and are easily swayed by local capacity jumps or sensor noise. Ablation experiments further confirm the irreplaceable nature of the architecture of this invention: when the liquid neural network is replaced with a conventional GRU, the prediction error increases significantly, confirming the core advantage of continuous ordinary differential equations in smoothing transient polarization; and when the dynamic radial basis regression network is replaced with a multilayer perceptron, the model's fitting accuracy for nonlinear degradation features decreases dramatically. In contrast, the model of this invention can reduce the MAE limit to 0.092%, which is mainly due to the construction of a rigorous dual-flow physical architecture: the bottom layer uses liquid neural network ordinary differential equations to smoothly digest continuous transient polarization, and the top layer strictly anchors the global lifetime manifold through causal multi-head latent attention; at the same time, it is combined with high-order dynamics-aware physical loss and dynamic radial basis regression network to completely achieve perfect decoupling and high-precision fitting of local polarization and global aging.
[0103] In another aspect, the present invention also provides a State of Health (SOH) estimation system based on dynamic constraint fusion, for implementing the aforementioned SOH estimation method, comprising a charge / discharge data module, a battery health state estimation module, a fine-tuning module, and a testing module:
[0104] The charge / discharge data module is used to acquire the full life cycle charge / discharge data of the source domain battery as a pre-training set, acquire the charge / discharge data of the unknown system battery in the target domain as a transfer fine-tuning set, and divide the corresponding validation set.
[0105] The battery health state estimation module is used to construct a battery health state estimation model. It inputs a pre-training set to obtain the estimated health state value of the target battery, and trains the model using the real health state label as a supervision signal to obtain the pre-trained model.
[0106] The fine-tuning module is used to input the transfer fine-tuning set into the pre-trained model for small-sample fine-tuning.
[0107] The testing module is used to input the validation set into the pre-trained model after fine-tuning with a small number of samples during the testing phase, and output the corresponding SOH estimation results for online health assessment of retired batteries.
Claims
1. A SOH estimation method based on dynamic constraint fusion, characterized in that, Includes the following steps: S1. Obtain the full life cycle charge and discharge data of the source domain battery as a pre-training set, obtain the charge and discharge data of the unknown system battery in the target domain as a transfer fine-tuning set, and divide the corresponding validation set. S2. Construct a battery health state estimation model. Input the pre-training set to obtain the health state estimate of the target battery. Train the model using the real health state label as the supervision signal to obtain the pre-trained model. The specific implementation process of the battery health state estimation model is as follows: S2.1 Normalized voltage, current, and temperature time-series data, as well as incremental capacity curve data, are used to obtain multi-dimensional micro-features through a multi-scale one-dimensional convolutional network. S2.2 Map the normalized cycle number to a position code, combine it with multidimensional micro features, perform continuous integral evolution through a liquid neural network to generate the instantaneous physical flow features of each cycle, and splice them into a historical instantaneous physical flow sequence according to the position code. S2.3 Extract macroscopic dynamic flow features based on all historical real-time physical flow sequences; By projecting and correcting the macroscopic dynamic flow features through gating weights, dual-flow fusion features are generated, which are then input into the regression head and output as an estimate of the target battery's health status. S3. Input the transfer fine-tuning set into the pre-trained model for small-sample fine-tuning. The specific implementation process is as follows: S3-1. Calculating the Label Change Rate and Adaptively Generating Exemption Codes: In the target domain fine-tuning stage, firstly, the absolute value of the change rate of the real health status labels in adjacent time steps is calculated; a preset jump threshold is set, and the absolute value of the label change rate is compared with this threshold time step by time to adaptively generate exemption codes for controlling physical penalties. Indicates the first Exemption coding for each time step, This indicates a preset jump threshold. When the absolute value of the rate of change is greater than the jump threshold, it is determined that a discrete jump has occurred at the corresponding time step, and the mask is forcibly set to 0 to exempt physical constraints. Otherwise, the mask is forcibly set to 1. S3-2. Constructing the jump-aware equilibrium physical loss function: Based on the output health state estimate and the true health state label, calculate the fine-tuning fitting loss and the physical smoothing constraint loss of the first-order velocity and second-order acceleration controlled by the exemption encoding, respectively, to obtain the total jump-aware equilibrium physical loss. ; S3-3, Network parameter update based on differential learning strategy: based on the calculated jump-aware equilibrium physical total loss. Perform backpropagation; during the parameter update phase, implement a differential learning rate strategy; S3-4 Learning rate scheduling based on cosine annealing restart: During the entire fine-tuning iteration, the global learning rate is periodically scheduled using a cosine annealing restart mechanism; S4. During the testing phase, the validation set is input into the pre-trained model after fine-tuning with a small number of samples, and the corresponding SOH estimation results are output for online health assessment of retired batteries.
2. The SOH estimation method based on dynamic constraint fusion according to claim 1, characterized in that, The charging and discharging data all include resampled and normalized voltage, current, and temperature time-series data. The calculated incremental capacity curve data And the normalized cycle number data.
3. The SOH estimation method based on dynamic constraint fusion according to claim 2, characterized in that, The specific implementation process of S2.1 is as follows: Construct a multi-scale temporal polarization feature extraction module: extracting normalized temporal data... The inputs are fed into four parallel convolution branches with different one-dimensional convolution kernel sizes, and activated by Gaussian error linear units (GELUs) to capture multi-band polarization responses ranging from instantaneous impulses to long-term fluctuations. , Indicates the first The output features of each convolutional branch; The features output from the four parallel branches are concatenated along the channel dimension, flattened, and then sequentially input into the Dropout layer and the multilayer perceptron for dimensionality reduction mapping, outputting multidimensional micro-features. .
4. The SOH estimation method based on dynamic constraint fusion according to claim 3, characterized in that, The specific implementation process of S2.2 is as follows: Constructing an electrochemical feature extraction module based on coordinate attention: This module is designed for inputting flattened incremental capacity curves. A one-dimensional coordinate attention mechanism is used to generate a spatial saliency mask. ; Next, input features Spatial saliency mask Element-wise multiplication yields coordinate-enhanced features; The coordinate enhancement features are input in parallel into several one-dimensional convolutional branches, activated by GELU and concatenated by channels, and then subjected to dimensionality reduction mapping by a multilayer perceptron to output electrochemical phase transition features. ; Feature normalization and micro-state concatenation: These methods concatenate multidimensional micro-features. Characteristics of electrochemical phase transition Perform layer normalization to obtain standardized features. and Then extract the current time step. The standardized features are then combined with the two features along the feature dimension to form a multidimensional micro-feature characterizing the overall health status of the battery at the current moment. This serves as the input for the subsequent liquid neural network; Continuous evolution of liquid neural networks based on Runge-Kutta integrals: incorporating the aforementioned multidimensional microscopic features As input to the current time step of the liquid neural network; a hidden state vector representing the cumulative aging history of the battery is introduced. At the initial moment initial state at time Initialized as a zero vector, given the hidden state from the previous time step. First, the nonlinear state mapping is calculated using a multilayer perceptron. Based on this nonlinear state mapping, an ordinary differential equation driven by the liquid time constant is constructed. A second-order Runge-Kutta algorithm is used to numerically integrate the ordinary differential equation. After traversing the complete sequence, the short-term aging momentum is output. ; Constructing Instantaneous Physical Flow Sequences: Short-Term Aging Momentum Standardized aging momentum characteristics are obtained by performing layer normalization. Simultaneously, the normalized cycle number of the battery is input into a multilayer perceptron and mapped using the SiLU activation function to obtain the position code. ; at the current time step ,Will , , and By splicing together, the first... The instantaneous physical flow characteristics of a cycle; Then iterate through all the data within the given time window. A series of consecutive loops are used to stack and concatenate the real-time physical flow features of each time step according to the time series dimension, thereby constructing a historical real-time physical flow sequence. .
5. The SOH estimation method based on dynamic constraint fusion according to claim 4, characterized in that, The specific implementation process of S2.3 is as follows: Extracting macroscopic dynamic flow based on causal multi-head latent attention: This involves extracting the historical real-time physical flow sequence... After linear mapping, the input is fed into a multi-head latent attention mechanism network to extract long-range historical dependencies; during attention computation, a causal lower triangular mask constraint is forcibly applied, and the dependencies are encoded according to position. Perform time-series correlation calculations and output macroscopic dynamic flow characteristics. ; State-condition-gated dual-flow feature fusion: integrating macroscopic dynamic flow features By aligning dimensions through linear projection, the corrected macroscopic features are obtained. Simultaneously, dynamic attention weights are generated through a gating network, using the instantaneous physical flow features of the current time step as conditional input. The initial value of the bias parameter of the last layer of the gated network is set to a negative value. Subsequently, dynamic attention weights are used to multiply and weight the modified macroscopic features, and then added to the instantaneous physical flow features through residual connections to output the dual-stream fusion features. : Health status regression based on dynamic radial basis function network: fusing dual-stream features The input is fed into a regression network driven by a dynamic radial basis function. First, the basis features are output through a basic linear layer, and then a learnable dynamic Gaussian grid node set is constructed. Dynamically calculate the Gaussian kernel standard deviation Subsequently, the dual-stream fusion characteristics were calculated. The squared residuals of the nodes in the dynamic Gaussian grid are used to generate the radial basis activation weights. and with the learnable spline weight matrix Tensor contraction and summation are performed to obtain the nonlinear spline output. Finally, the basis features are added to the nonlinear spline output to obtain the final health state estimate of the target battery.
6. The SOH estimation method based on dynamic constraint fusion according to claim 5, characterized in that, The specific implementation process of training the pre-trained model using real health status labels as supervision signals is as follows: Constructing pre-trained data batches: Divide the pre-trained set into training and validation sets, and generate data batches containing multi-dimensional input features and corresponding real health status labels; Forward propagation calculation: Input the data batches into the battery health state estimation model constructed by S2, perform forward propagation calculation, and output the health state estimate of the source domain batteries in the current batch. ; Calculate the higher-order dynamics-aware physical loss function: Using real health state labels as supervision signals, calculate the pre-training fitting loss, and simultaneously introduce first-order decay rate, second-order acceleration convexity, and monotonicity priors to construct the higher-order dynamics-aware physical loss function. ; Backpropagation and adaptive learning rate update: based on the calculated pre-training loss function The adaptive moment estimator optimizer is used to perform back-derivative calculation, calculate the gradient of each learnable parameter in the network model, and perform iterative updates. Model convergence and prior consolidation: Periodically evaluate model performance on the validation set.
7. A SOH estimation system based on dynamic constraint fusion, used to implement the SOH estimation method according to any one of claims 1 to 6, characterized in that, Includes the following modules: The charge and discharge data module is used to acquire the full life cycle charge and discharge data of the source domain battery as a pre-training set, acquire the charge and discharge data of the unknown system battery in the target domain as a transfer fine-tuning set, and divide the corresponding validation set. The battery health state estimation module is used to build a battery health state estimation model. It takes the pre-training set as input to obtain the health state estimate of the target battery, and trains the model with the real health state label as the supervision signal to obtain the pre-trained model. The fine-tuning module is used to input the transfer fine-tuning set into the pre-trained model for few-sample fine-tuning; The testing module is used during the testing phase to input the validation set into the pre-trained model after fine-tuning with a small number of samples, and output the corresponding SOH estimation results for online health assessment of retired batteries.
Citation Information
Patent Citations
Commodity recommendation copywriting generation method based on multi-modal artificial intelligence large model
CN119337837A
Sodium-ion battery Pack health state online evaluation method and system
CN122017649A
