A BMS battery residual life prediction method based on historical data learning and related equipment
By constructing fused feature vectors through EIS scanning, and combining deep ensemble networks with regularized auxiliary networks, and utilizing empirical mode decomposition and federated learning, the accuracy and individual adaptation issues of lithium-ion battery remaining life prediction in BMS systems are solved, achieving an organic integration of data-driven and mechanism-prior knowledge.
Patent Information
- Application Number
- CN202611395190.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-09
- Publication Date
- 2026-11-20
AI Technical Summary
Existing BMS systems cannot accurately predict the remaining lifespan of lithium-ion batteries because relying solely on external macroscopic electrical quantities cannot reflect the internal electrochemical degradation mechanism, and insufficient historical data per vehicle leads to poor model generalization ability and large individual adaptation errors.
By performing EIS scanning after the charge-discharge cycle, a fused feature vector is constructed. Capacity inference is then performed by combining a deep ensemble network and a regularized auxiliary network. Furthermore, the global model is transferred to individual models through empirical mode decomposition and federated learning mechanisms, thereby enabling secure and collaborative knowledge accumulation while ensuring data privacy.
It improves the characterization depth of lithium-ion battery degradation status, eliminates non-degradation noise interference, achieves accurate and interpretable prediction of remaining cycle life, and solves the problem of insufficient data per vehicle.
Smart Images

Figure CN123136435A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of battery remaining life prediction technology, and in particular to a BMS battery remaining life prediction method and related equipment based on historical data learning. Background Technology
[0002] As the core power source for self-balancing scooters, the accurate prediction of the remaining cycle life of lithium-ion batteries is crucial for ensuring driving safety and reducing maintenance costs. Existing battery management systems (BMS) typically only collect external macroscopic electrical quantities such as terminal voltage, current, and temperature as input features for life prediction. These features cannot reflect internal electrochemical degradation mechanisms such as solid electrolyte interfacial film thickening and active material loss, resulting in insufficient ability of the features to distinguish different degradation modes and fundamentally limiting the accuracy of life prediction.
[0003] Existing technologies directly input measured discharge capacity sequences into time-series prediction models. However, the actual operating conditions of self-balancing scooters are complex and variable. The measured capacity for each cycle is mixed with various non-degradation noises, such as charging and discharging disturbances, temperature fluctuations, and measurement errors. These noises are coupled and superimposed on the actual degradation trend over time, causing the model to learn non-physical pseudo-degradation patterns, resulting in systematic biases in the RUL prediction results. Furthermore, the number of historical charging and discharging cycles for a single self-balancing scooter is limited, and the sample size is insufficient to support the effective training of deep learning models. At the same time, different vehicles exhibit different individual degradation trajectories due to differences in usage habits and operating conditions. Prediction results based on a unified global model have adaptation errors for specific individuals, and existing technologies lack effective means to transfer and calibrate the global model to individual degradation characteristics. Summary of the Invention
[0004] This invention provides a method and related equipment for predicting the remaining life of a BMS battery based on historical data learning. This invention enables the secure collaborative accumulation of knowledge from multiple vehicles while protecting user data privacy, effectively solving the problem of poor generalization ability of the GRU model due to insufficient historical data from a single vehicle. The output remaining cycle life prediction value balances accuracy and interpretability.
[0005] In a first aspect, embodiments of this application provide a method for predicting the remaining lifespan of a BMS battery based on historical data learning, including: According to the charge and discharge cycle of the lithium-ion battery of the self-balancing scooter, AC excitation is applied to the lithium-ion battery and a fused feature vector is constructed. The fused feature vector is input into a deep ensemble network for multiple random forward inferences to obtain a first capacity inference value. At the same time, the current-voltage curve of the charge-discharge cycle is input into a regularization auxiliary network to calculate a second capacity inference value. The first capacity inference value and the second capacity inference value are weighted and fused to obtain a historical reconstructed capacity sequence. Empirical mode decomposition is performed on the historical reconstruction capacity sequence to obtain a global degradation trend sequence, and the target remaining cycle lifetime value is calculated based on the global degradation trend sequence and the confidence rule base. When the target remaining cycle life value is lower than a preset proportion of the total design cycle life, a battery replacement suggestion and information on nearby authorized service outlets will be pushed to the user terminal.
[0006] Optionally, in a first implementation of the first aspect of the present invention, the step of applying AC excitation to the lithium-ion battery and constructing a fused feature vector according to the charge-discharge cycle of the lithium-ion battery of the self-balancing scooter includes: During the resting window after each charge and discharge cycle of the lithium-ion battery of the self-balancing scooter, AC excitation signals of different frequencies are applied to the lithium-ion battery, the impedance response at each frequency point is collected, and the equivalent circuit model is fitted to obtain the EIS equivalent circuit parameters. Based on the incremental capacity differential curve of the discharge capacity voltage data within the charge-discharge cycle, the peak voltage position, peak area, and peak slope of the main peak are extracted from the incremental capacity differential curve, and the peak voltage position, peak area, and peak slope are used as feature parameters of the incremental capacity differential curve. A fused feature vector is constructed based on the EIS equivalent circuit parameters, the discharge capacity, internal resistance, charging time and temperature statistics of the charge and discharge cycle, and the feature parameters of the incremental capacity differential curve.
[0007] Optionally, in a second implementation of the first aspect of the present invention, the step of inputting the fused feature vector into a deep ensemble network for multiple random forward inferences to obtain a first capacity inference value, and simultaneously inputting the current-voltage curve of the charge-discharge cycle into a regularization auxiliary network to calculate a second capacity inference value, and then weighting and fusing the first capacity inference value and the second capacity inference value to obtain a historical reconstructed capacity sequence, includes: The fused feature vector is input into a deep ensemble network. During the inference phase, the Dropout layer is kept active and multiple random forward propagations are performed on the same input to output multiple initial inference values. The mean of the multiple initial inference values is used as the capacity inference value and the variance of the multiple initial inference values is used as the cognitive uncertainty. Input the curve data points from the current-voltage curve of the charge-discharge cycle into the regularization auxiliary network to calculate the second capacity estimation value; Using the reciprocal of the cognitive uncertainty as a dynamic weight, the first capacity inference value and the second capacity inference value are weighted and fused to obtain the historical reconstruction capacity sequence.
[0008] Optionally, in a third implementation of the first aspect of the present invention, the step of performing empirical mode decomposition on the historical reconstruction capacity sequence to obtain a global degradation trend sequence, and calculating the target remaining cycle lifetime value based on the global degradation trend sequence and the confidence rule base, includes: The historical reconstruction capacity sequence is sieved into several intrinsic mode function components and residual components, and the residual components are used as the global degradation trend sequence; The parameters of the first GRU fully connected network in each vehicle's BMS are incrementally uploaded to the cloud aggregation server. The aggregated parameters are obtained by weighted federated averaging using the local sample size and degradation stage distribution similarity of each vehicle as the aggregation weight. The aggregated parameters are then sent to the first GRU fully connected network to update and obtain the second GRU fully connected network. The global degradation trend sequence is input into the second GRU fully connected network for time-series extrapolation to obtain the initial remaining cycle lifetime value. The initial remaining cycle lifetime value and the fused feature vector are substituted into the confidence rule base to calculate the target remaining cycle lifetime value.
[0009] Optionally, in the fourth implementation of the first aspect of the present invention, the step of uploading the incremental parameters of the first GRU fully connected network of each vehicle's BMS to the cloud aggregation server, performing a weighted federated average with the local sample size and degradation stage distribution similarity of each vehicle as the aggregation weight to obtain the aggregated parameters, and then sending the aggregated parameters to the first GRU fully connected network to update and obtain the second GRU fully connected network includes: Based on the newly accumulated charge and discharge cycle data of each vehicle's BMS, local fine-tuning is performed on the first GRU fully connected network of each vehicle's BMS to obtain the parameter increments of each vehicle, and the parameter increments are uploaded to the cloud aggregation server. In the cloud aggregation server, the local sample size of each vehicle is used as the first weight component, and the similarity of the degradation stage distribution between the fused feature vector distribution of each vehicle and the global feature distribution is used as the second weight component. The product of the first weight component and the second weight component is normalized and used as the aggregation weight. Based on the aggregation weight, the parameter increments uploaded by each vehicle are weighted and averaged to obtain the global aggregation parameters; The global aggregation parameters are sent to the local BMS of each vehicle and superimposed on the local first GRU fully connected network to update and obtain the second GRU fully connected network.
[0010] Optionally, in a fifth implementation of the first aspect of the present invention, the step of substituting the initial remaining cycle lifetime value and the fused feature vector into the confidence rule base to calculate the target remaining cycle lifetime value includes: The first component is the KL divergence between the fused feature vector and the global feature distribution, and the second component is the historical prediction accuracy of each confidence rule in the confidence rule base on the current vehicle historical data. The first component and the second component are weighted and merged to obtain the migration fusion factor of each confidence rule. The migration fusion factor is used to calibrate the weights of each confidence rule in the confidence rule base to obtain the calibrated confidence rule base; The fused feature vector and the initial remaining cycle lifetime value are substituted into the calibrated confidence rule base to calculate the activation intensity of each confidence rule. The confidence distribution of each activation rule is weighted according to the activation intensity and then recursively synthesized by the evidence reasoning algorithm to obtain the target confidence distribution of each remaining cycle lifetime interval. The target remaining cycle lifetime value is the sum of the products of the center value of each remaining cycle lifetime interval and the corresponding target confidence distribution.
[0011] Secondly, embodiments of this application provide a BMS battery remaining life prediction device based on historical data learning, comprising: A construction module is used to apply AC excitation to the lithium-ion battery and construct a fused feature vector according to the charge and discharge cycle of the lithium-ion battery of the self-balancing scooter. The capacity calculation module is used to input the fused feature vector into a deep ensemble network for multiple random forward inferences to obtain a first capacity inference value, and simultaneously input the current and voltage curves of the charge and discharge cycle into a regularization auxiliary network to calculate a second capacity inference value. The first capacity inference value and the second capacity inference value are weighted and fused to obtain a historical reconstructed capacity sequence. The lifetime calculation module is used to perform empirical mode decomposition on the historical reconstruction capacity sequence to obtain a global degradation trend sequence, and calculate the target remaining cycle lifetime value based on the global degradation trend sequence and the confidence rule base. The processing module is used to push battery replacement suggestions and information on nearby authorized service outlets to the user terminal when the target remaining cycle life value is lower than a preset proportion of the total design cycle life.
[0012] Thirdly, embodiments of this application provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the above-described method for predicting the remaining life of a BMS battery based on historical data learning.
[0013] Fourthly, embodiments of this application provide a readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described method for predicting the remaining lifespan of a BMS battery based on historical data learning.
[0014] Fifthly, embodiments of this application provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the above-described method for predicting the remaining lifespan of a BMS battery based on historical data learning.
[0015] In one of the solutions provided by the BMS battery remaining life prediction method and related equipment based on historical data learning, this invention introduces the equivalent circuit parameters of electrochemical impedance spectroscopy (EIS) into the BMS local acquisition system. During the resting window after each charge-discharge cycle, an EIS scan is automatically triggered to extract four parameters: ohmic internal resistance, charge transfer impedance, double-layer capacitance, and Warburg diffusion impedance. These parameters, along with cycle-by-cycle discharge capacity, internal resistance, charging time, temperature statistics, and incremental capacity differential curve feature parameters, constitute a fused feature vector. This vector directly characterizes internal electrochemical degradation mechanisms such as solid electrolyte interface film thickening, active material loss, and changes in solid-state diffusion resistance. It overcomes the fundamental deficiency of existing technologies that rely solely on external macroscopic electrical quantities such as terminal voltage and current, which cannot distinguish different internal degradation modes, thus improving the depth of characterization of battery degradation states by the input features. This invention designs a dual-path parallel inference mechanism consisting of a deeply integrated network and a regularized auxiliary network. The deep ensemble network uses Focal Loss as the loss function to address the issues of sample sparsity and imbalanced distribution in the deep degradation stage. It also employs Monte Carlo Dropout to perform multiple random forward propagations during the inference stage, simultaneously outputting the capacity inference value and cognitive uncertainty. A regularized auxiliary network independently extracts the maximum discharge capacity inference value from the point-by-point current-voltage curves throughout the charging and discharging process, complementing the deep ensemble network. The two inference results are adaptively weighted and fused using the reciprocal of the cognitive uncertainty as a dynamic weight. When the confidence level of the deep ensemble network's inference decreases, the contribution ratio of the regularized auxiliary network is automatically increased, ensuring the stability and accuracy of the historical reconstructed capacity sequence at each degradation stage. Simultaneously, it quantifies the uncertainty of the prediction conclusion, overcoming the limitation of existing single-point predictions in expressing confidence levels. This invention performs empirical mode decomposition on the historical reconstructed capacity sequence. By repeatedly identifying local extrema, constructing upper and lower envelopes, and progressively sieving, it adaptively separates non-degradation noise such as charging and discharging condition disturbances, temperature fluctuations, and measurement errors into intrinsic mode function components of each order, extracting the residual components as a physically pure global degradation trend sequence. This processing method eliminates the need for pre-defined basis functions and possesses a natural adaptability to the nonlinear and non-stationary characteristics of lithium-ion battery capacity degradation sequences. It eliminates the interference of non-degradation noise on GRU time-series extrapolation, enabling the model to learn true irreversible degradation patterns rather than pseudo-patterns arising from operating condition fluctuations, thus improving the physical rationality of degradation trajectory extrapolation. This invention utilizes a federated learning mechanism, where each vehicle only uploads GRU parameter increments and the original charge / discharge data remains on the local device. It employs a weighted federated average with the normalized product of the local sample size of each vehicle and the similarity of the degradation stage distribution as the aggregation weight. This achieves secure and collaborative accumulation of multi-vehicle knowledge while protecting user data privacy, effectively solving the problem of poor generalization ability of GRU models due to insufficient historical data from a single vehicle.A transfer fusion factor is constructed by combining the KL divergence between the current individual vehicle fusion feature vector distribution and the global feature distribution with the historical prediction accuracy of each confidence rule. The weights of each rule in the confidence rule base are dynamically calibrated for individual adaptation. Then, the confidence distributions of each activation rule are recursively synthesized into the target remaining cycle lifetime value through an evidence reasoning algorithm. The data-driven GRU time-series prediction results are organically integrated with the confidence rule base built based on electrochemical prior knowledge, realizing the accurate transfer of the global model to individual degradation characteristics. This solves the problem of large adaptation errors of the existing global unified model for individuals with different usage habits and operating conditions. The prediction results have both data-driven fitting ability and physical constraints of mechanism prior, and the output remaining cycle lifetime prediction value takes into account both accuracy and interpretability. Attached Figure Description
[0016] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a schematic diagram of a BMS battery remaining life prediction system based on historical data learning in one embodiment of the present invention. Figure 2 This is a flowchart illustrating a BMS battery remaining life prediction method based on historical data learning in one embodiment of the present invention. Figure 3 yes Figure 2 A schematic diagram of the implementation process of step S10; Figure 4 yes Figure 2 A schematic diagram of the implementation process of step S20; Figure 5 yes Figure 2 A schematic diagram of the implementation process of step S30; Figure 6 yes Figure 5 A schematic diagram of the implementation process of step S32; Figure 7 This is a schematic diagram of a BMS battery remaining life prediction device based on historical data learning in one embodiment of the present invention. Figure 8 This is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. Detailed Implementation
[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0019] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or collections thereof. It should also be understood that, as used in this specification and the appended claims, the term "and / or" refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0020] Furthermore, in the description of this invention and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0021] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of the invention include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0022] It should be understood that the sequence number of each step in the following embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0023] To illustrate the technical solution of the present invention, specific embodiments are described below.
[0024] To address the problems mentioned above, this application proposes a method and related equipment for predicting the remaining life of a BMS battery based on historical data learning. The BMS battery remaining life prediction method based on historical data learning provided by this invention can be applied to applications such as... Figure 1The BMS battery remaining life prediction system shown includes a client and a server.
[0025] In one embodiment, such as Figure 2 As shown, a method for predicting the remaining life of a BMS battery based on historical data learning is provided, and this method is applied to... Figure 1 Taking a historical data-based BMS battery remaining life prediction system as an example, the following steps are included: S10: Apply AC excitation to the lithium-ion battery and construct a fused feature vector according to the charge and discharge cycle of the self-balancing scooter's lithium-ion battery. S20: Input the fused feature vector into the deep ensemble network for multiple random forward inferences to obtain the first capacity inference value. At the same time, input the current and voltage curves of the charge and discharge cycle into the regularization auxiliary network to calculate the second capacity inference value. Then, perform weighted fusion of the first and second capacity inference values to obtain the historical reconstructed capacity sequence. S30: Perform empirical mode decomposition on the historical reconstruction capacity sequence to obtain the global degradation trend sequence, and calculate the target remaining cycle lifetime value based on the global degradation trend sequence and the confidence rule base; S40: When the target remaining cycle life value is lower than the preset proportion of the total design cycle life, push battery replacement suggestions and information on nearby authorized service outlets to the user terminal.
[0026] In this embodiment, the present invention introduces the equivalent circuit parameters of electrochemical impedance spectroscopy (EIS) into the local acquisition system of the BMS. During the resting window after each charge-discharge cycle, an EIS scan is automatically triggered to extract four parameters: ohmic internal resistance, charge transfer impedance, double-layer capacitance, and Warburg diffusion impedance. These parameters, along with cycle-by-cycle discharge capacity, internal resistance, charging time, temperature statistics, and incremental capacity differential curve characteristics, constitute a fused feature vector. This vector directly characterizes the internal electrochemical degradation mechanisms, such as solid electrolyte interfacial film thickening, active material loss, and changes in solid-state diffusion resistance. This overcomes the fundamental deficiency of existing technologies that rely solely on external macroscopic electrical quantities such as terminal voltage and current, which cannot distinguish different internal degradation modes, thus improving the depth of characterization of battery degradation states by the input features. The present invention designs a dual-path parallel inference mechanism consisting of a deeply integrated network and a regularized auxiliary network. The deep ensemble network uses Focal Loss as the loss function to address the issues of sample sparsity and imbalanced distribution in the deep degradation stage. It also employs Monte Carlo Dropout to perform multiple random forward propagations during the inference stage, simultaneously outputting the capacity inference value and cognitive uncertainty. A regularized auxiliary network independently extracts the maximum discharge capacity inference value from the point-by-point current-voltage curves throughout the charging and discharging process, complementing the deep ensemble network. The two inference results are adaptively weighted and fused using the reciprocal of the cognitive uncertainty as a dynamic weight. When the confidence level of the deep ensemble network's inference decreases, the contribution ratio of the regularized auxiliary network is automatically increased, ensuring the stability and accuracy of the historical reconstructed capacity sequence at each degradation stage. Simultaneously, it quantifies the uncertainty of the prediction conclusion, overcoming the limitation of existing single-point predictions in expressing confidence levels. This invention performs empirical mode decomposition on the historical reconstructed capacity sequence. By repeatedly identifying local extrema, constructing upper and lower envelopes, and progressively sieving, it adaptively separates non-degradation noise such as charging and discharging condition disturbances, temperature fluctuations, and measurement errors into intrinsic mode function components of each order, extracting the residual components as a physically pure global degradation trend sequence. This processing method eliminates the need for pre-defined basis functions and possesses a natural adaptability to the nonlinear and non-stationary characteristics of lithium-ion battery capacity degradation sequences. It eliminates the interference of non-degradation noise on GRU time-series extrapolation, enabling the model to learn true irreversible degradation patterns rather than pseudo-patterns arising from operating condition fluctuations, thus improving the physical rationality of degradation trajectory extrapolation. This invention utilizes a federated learning mechanism, where each vehicle only uploads GRU parameter increments and the original charge / discharge data remains on the local device. It employs a weighted federated average with the normalized product of the local sample size of each vehicle and the similarity of the degradation stage distribution as the aggregation weight. This achieves secure and collaborative accumulation of multi-vehicle knowledge while protecting user data privacy, effectively solving the problem of poor generalization ability of GRU models due to insufficient historical data from a single vehicle.A transfer fusion factor is constructed by combining the KL divergence between the current individual vehicle fusion feature vector distribution and the global feature distribution with the historical prediction accuracy of each confidence rule. The weights of each rule in the confidence rule base are dynamically calibrated for individual adaptation. Then, the confidence distributions of each activation rule are recursively synthesized into the target remaining cycle lifetime value through an evidence reasoning algorithm. The data-driven GRU time-series prediction results are organically integrated with the confidence rule base built based on electrochemical prior knowledge, realizing the accurate transfer of the global model to individual degradation characteristics. This solves the problem of large adaptation errors of the existing global unified model for individuals with different usage habits and operating conditions. The prediction results have both data-driven fitting ability and physical constraints of mechanism prior, and the output remaining cycle lifetime prediction value takes into account both accuracy and interpretability.
[0027] In one embodiment, such as Figure 3 As shown, step S10 specifically includes the following steps: S11: During the resting window after each charge and discharge cycle of the lithium-ion battery of the self-balancing scooter, AC excitation signals of different frequencies are applied to the lithium-ion battery, the impedance response at each frequency point is collected, and the equivalent circuit model is fitted to obtain the EIS equivalent circuit parameters. S12: Calculate the incremental capacity differential curve based on the discharge capacity voltage data within the charge-discharge cycle. Extract the peak voltage position, peak area, and peak slope from the incremental capacity differential curve. Use the peak voltage position, peak area, and peak slope as characteristic parameters of the incremental capacity differential curve. S13: Construct a fused feature vector based on the EIS equivalent circuit parameters, discharge capacity, internal resistance, charging time and temperature statistical parameters of the charge and discharge cycle, and incremental capacity differential curve feature parameters.
[0028] In this embodiment, after the BMS detects that the current charging and discharging process has ended, it shuts off the power output of the charging and discharging circuits and continuously reads the battery pack current, terminal voltage, and temperature. When the current has fallen back to the zero current judgment range, the terminal voltage remains stable within the continuous detection cycle, and the temperature does not have a significant jump, this time interval is defined as a resting window. The stability judgment thresholds are determined by the cell specifications, sampling accuracy, and EIS measurement module during the factory calibration stage to avoid performing impedance measurements when the battery is still in polarization recovery or rapid thermal changes. The BMS controls the AC excitation module to sequentially output small-amplitude AC excitation signals at multiple frequency points and simultaneously collects the AC voltage response and AC current response corresponding to each frequency point. Complex impedance data is formed based on the amplitude relationship and phase difference between the two. At the same time, the data with excessive excitation current, saturated sampling signal, abnormal temperature changes, or abrupt changes in response at adjacent frequency points are quality checked. Frequency points that fail the quality check can be remeasured. If the requirements are still not met, an invalid flag is set for the EIS data of this cycle to prevent abnormal impedance values from entering the life prediction process. After obtaining the effective impedance spectrum, a nonlinear least-squares fit was performed on the impedance response at each frequency point using the Randles equivalent circuit model. The initial value of the ohmic internal resistance was determined using the real intercept in the high-frequency region, the initial values of the charge transfer impedance and double-layer capacitance were determined using the semi-circular feature in the mid-frequency region, and the initial value of the Warburg diffusion impedance was determined using the oblique variation in the low-frequency region. Then, by iteratively adjusting the model parameters, the overall deviation between the model impedance and the measured impedance was gradually reduced, resulting in the [missing value]. EIS eigenvectors for each charge-discharge cycle ,in, For ohmic internal resistance, For charge transfer impedance, It is a double-layer capacitor. The four parameters are used to describe the battery's ohmic loss, interface charge transfer capability, interface energy storage characteristics, and lithium-ion solid-phase diffusion state, respectively.
[0029] Simultaneously, during the discharge process of this charge-discharge cycle, current and terminal voltage are collected sequentially over time. Cumulative discharge capacity data is generated by integrating the discharge current over time. Capacity-voltage data pairs are then established between each cumulative discharge capacity and its corresponding terminal voltage. Considering that the original data contains sampling noise, repetitive voltage points, and local voltage rebounds, outliers are filtered out according to the effective discharge interval. The capacity-voltage sequence is then resampled and smoothed using Savitzky-Golay, resulting in an incremental capacity differential curve. This suppresses high-frequency noise amplified by numerical differentiation. After curve processing, the most significant peak with a stable peak shape is searched within a predetermined effective voltage range. The terminal voltage corresponding to the highest point of the peak is determined as the peak voltage position. The integration interval is defined by adjacent valleys or peak boundaries on both sides of the peak to obtain the peak area. Simultaneously, continuous effective curve points are selected to the left of the peak for slope fitting to obtain the peak slope, thus forming the first... Eigenvector of the incremental capacity differential curve for each period ,in, Indicates the location of the main peak voltage. Indicates the area of the main peak. The slope to the left of the main peak is represented by the three parameters, which respectively reflect the drift of the characteristic peak position, the change in reversible capacity, and the steepness of the peak shape.
[0030] Using the charge / discharge cycle number as a unified index, the EIS equivalent circuit parameters, measured discharge capacity, DC internal resistance, total charging time, temperature statistics, and incremental capacity differential curve characteristic parameters of the same cycle are time-aligned. The DC internal resistance can be obtained from the voltage step response during charge / discharge switching or current pulse phases. Temperature statistics can be, for example, the average temperature of the entire charge / discharge process of that cycle. The DC internal resistance and the ohmic internal resistance obtained from EIS fitting are retained as features from different sources, as the former reflects the transient DC response under specific operating conditions, while the latter originates from the frequency domain equivalent circuit fitting. For short-term missing data but continuous data between consecutive cycles, it can be supplemented based on the changing trends of adjacent cycles. For cycles where EIS fitting has not converged, capacity integration is interrupted, or temperature sampling is abnormal, the quality flag is retained, but direct use as valid training samples is prohibited. After completing the validity check, features of different dimensions are normalized according to the scale parameters determined during the training phase. The four EIS parameters, four cycle statistics parameters, and three incremental capacity characteristics are then sequentially concatenated to obtain... This results in an 11-dimensional fused feature vector consisting of four electrochemical impedance characteristics, four operational statistical characteristics, and three incremental capacity characteristics, which are then written into the BMS local storage area in the order of charge and discharge cycles.
[0031] In one embodiment, such as Figure 4 As shown, step S20 specifically includes the following steps: S21: Input the fused feature vector into the deep ensemble network, keep the Dropout layer active during the inference phase and perform multiple random forward propagations on the same input to output multiple initial inference values, and use the mean of multiple initial inference values as the capacity inference value, and use the variance of multiple initial inference values as the cognitive uncertainty. S22: Input the curve data points from the current-voltage curve of the charge-discharge cycle into the regularization auxiliary network to calculate the second capacity estimation value; S23: Using the reciprocal of cognitive uncertainty as a dynamic weight, the first capacity inference value and the second capacity inference value are weighted and fused to obtain the historical reconstruction capacity sequence.
[0032] In this embodiment, the fused feature vector corresponding to the k-th charge-discharge cycle is preprocessed according to the feature order and normalization parameters saved during the training phase. This transforms the EIS equivalent circuit parameters, cycle statistics parameters, and incremental capacity differential curve features to a unified numerical scale. Cycles with missing values, abnormal jumps, or invalid quality indicators are removed from the valid inference set. Subsequently, the valid fused feature vector is input into a deep ensemble network composed of multiple residual regression sub-models. Each sub-model is trained independently using different random initialization parameters and training sample batches. Each sub-model extracts fused features through fully connected layers and residual connections. The nonlinear degradation relationship is investigated, and the measured discharge capacity of the corresponding period is used as the supervision target. In the actual inference stage, the parameters in the network are fixed, while the Dropout layer is kept in the active state, but the batch normalization layer is kept in the inference state to prevent the statistics from drifting during multiple forward propagations. Then, random forward propagation is repeatedly performed on the same fused feature vector. For example, the number of random forward propagations M can be set to 30 times, and the Dropout drop probability can be set to 0.1. During each propagation, the Dropout layer randomly masks the outputs of different neurons, thus obtaining a set of initial capacity inference values with slight differences. and in accordance with Calculate the first capacity estimate, and simultaneously according to Calculate cognitive uncertainty, where, Indicates that deep integration networks are for the first The first capacity estimate for each cycle, This indicates the degree of dispersion of multiple random inference results. When different inference results are relatively concentrated, it means that the current fused features are within the distribution range that the model has fully learned. However, when different inference results differ greatly, it means that the current degradation state is significantly different from the training samples or that some input features are not reliable enough.
[0033] Simultaneously, the current and voltage curves continuously acquired within the same charge / discharge cycle are aligned according to the sampling time. Data points with duplicate sampling times, communication interruptions, and curves significantly exceeding the sensor's range are deleted. A resampling method is used to convert curves from different cycles to a uniform time length. For curves that do not reach a uniform length, invalid markers are added to the end, allowing the regularization auxiliary network to skip the padding position through a mask. Then, the current and voltage values at each sampling moment are combined into a time series and input into the auxiliary regression network. The network extracts the voltage drop rate during the constant current discharge stage, the transient response during load changes, the curve shape near the cutoff voltage, and the current decay characteristics during the charging stage along the time dimension. The second capacity inference value is obtained through the output layer. The auxiliary network training uses a mean square error loss function that includes an L2 regularization term, i.e. ,in, For regularization auxiliary networks targeting the first The second capacity inference value output in each cycle, For the first Measured capacity per cycle, To assist in network weight parameters, This is the regularization coefficient, which can be determined based on the validation set error; for example, it can be set to 10. -4 This approach preserves the ability to extract dynamic information from curves while limiting excessive increases in network weights, thereby reducing the likelihood of overfitting under limited historical period conditions.
[0034] After obtaining the capacity inference results from both outputs, confirm that both outputs use the same capacity unit or the same normalization scale, and set a lower limit for the cognitive uncertainty, for example, a lower limit of 10. -6 When the actual variance is lower than this value, the lower limit is used in the reciprocal calculation to avoid abnormal amplification of dynamic weights due to the variance approaching zero. Then, according to... Complete the weighted fusion, among which, For the first Reconstruction capacity per cycle, The base weights for the regularization auxiliary network are calibrated using the capacity inference error of the auxiliary network on the validation data, ensuring they are on the same weight scale as the inverse of the cognitive uncertainty. When the cognitive uncertainty of the deep ensemble network is small, its inverse increases, and the fusion result retains more of the electrochemical degradation information represented by the fusion feature vector. Conversely, when the cognitive uncertainty is large, its inverse decreases, and the fusion process correspondingly increases the contribution ratio of the current-voltage curve inference results. This prevents excessive capacity deviation from a single path under abnormal operating conditions or in the degradation stage where it has not been fully learned. Finally, the weights of each cycle are arranged sequentially according to the charge-discharge cycle number. Forming a historical reconstruction capacity sequence The cycle number, two-way inference results, cognitive uncertainty, and data quality flags corresponding to each reconstruction capacity value are stored synchronously.
[0035] In one embodiment, such as Figure 5 As shown, step S30 specifically includes the following steps: S31: The historical reconstruction capacity sequence is divided into several intrinsic mode function components and residual components, and the residual components are used as the global degradation trend sequence. S32: Upload the incremental parameters of the first GRU fully connected network in each vehicle's BMS to the cloud aggregation server, and perform a weighted federated average with the local sample size and degradation stage distribution similarity of each vehicle as the aggregation weight to obtain the aggregated parameters. Then, send the aggregated parameters to the first GRU fully connected network to update and obtain the second GRU fully connected network. S33: Input the global degradation trend sequence into the second GRU fully connected network for temporal extrapolation to obtain the initial remaining cycle lifetime value; S34: Substitute the initial remaining cycle lifetime value and the fused feature vector into the confidence rule base to calculate the target remaining cycle lifetime value.
[0036] In this embodiment, the historical reconstructed capacity sequence is checked for completeness according to the charge and discharge cycle number to confirm that the cycle number corresponding to each capacity value is continuous and the capacity unit is consistent. Invalid values caused by sampling interruption, capacity reconstruction failure or abnormal operating conditions are removed according to the data quality flag. For a small number of missing cycles, interpolation can be performed based on the capacity change trend of adjacent cycles before and after the missing position, but continuous large segments of missing data are not forcibly filled in in order to avoid artificially constructed capacity changes from entering a degradation trend. After preprocessing, empirical mode decomposition is performed on the historical reconstructed capacity sequence. This involves searching for all local maxima and minima in the sequence, and then connecting each maxima and minima using cubic spline interpolation to obtain upper and lower envelopes. The mean of these two envelopes is then calculated and subtracted from the current sequence to be decomposed, forming candidate modal components. This process of extreme point search, envelope construction, and mean subtraction is repeated for each candidate modal component until the difference between the number of extreme points and the number of zero-crossing points does not exceed 1, and the local means of the upper and lower envelopes approach zero. At this point, the candidate modal component is identified as the first-order intrinsic mode function (IEM). The first-order IEM is then subtracted from the historical reconstructed capacity sequence to obtain the first residual. Subsequent IEMs are extracted sequentially in the same manner until the residual exhibits monotonically changing behavior or its number of extreme points is less than two, making further decomposition impossible. The decomposed capacity sequence satisfies the following conditions: ,in, For the first Historical reconstruction capacity per cycle, For the first First-order intrinsic mode function, The number of extracted intrinsic mode functions, The final residual components are: each order of intrinsic mode function mainly carries the fluctuations at different time scales caused by changes in riding load, temperature fluctuations and measurement errors, while the residual components reflect the long-term degradation changes in capacity as the cycle progresses. Therefore, the residual components arranged in periodic order are taken as the global degradation trend sequence.
[0037] Each vehicle's BMS fine-tunes the first GRU fully connected network using newly added global degradation trend samples locally. Only the changes in network parameters before and after fine-tuning are uploaded to the cloud aggregation server, without uploading the original capacity sequence, EIS parameters, and current-voltage curves. The cloud aggregation server counts the effective sample size of each vehicle participating in this round of training and compares the similarity between the fused feature distribution of each vehicle and the global feature distribution of the fleet at different degradation stages. The sample size and the similarity of the degradation stage distribution are then converted into normalized aggregation weights. This ensures that vehicles with more effective samples and whose degradation stages match the global training objective more significantly contribute to parameter aggregation, while limiting the excessive influence of vehicles with too few samples or significantly deviated distributions on the global model. The parameter increments of each vehicle are weighted and federated according to the aggregation weights to obtain global aggregated parameters. These parameters are then distributed to the BMSs of the participating vehicles and superimposed on the current parameters of their local first GRU fully connected networks to form the second GRU fully connected network. The parameter uploading, aggregation, and distribution processes can run as background update tasks independent of the real-time lifetime prediction main link, thereby avoiding network communication delays that could block the local prediction process.
[0038] The global degradation trend sequence is divided into continuous time series samples according to a fixed time window, and the input to the second GRU fully connected network is maintained in the order of each time step. At each time step, the network follows Calculate the update gate, according to Calculate the reset door, according to Calculate the candidate hidden layer states and follow the... Update the current hidden state, where, For the first The global degradation trend value over each period, and These are the hidden states of the previous time step and the current time step, respectively. and These are the input weights and state weights in the second GRU fully connected network. It is the Sigmoid activation function. This represents element-wise multiplication. Historical degradation information is selectively retained or forgotten through update and reset gates. The hidden state corresponding to the last observed cycle forms a compressed representation of the current vehicle's long-term capacity degradation pattern. A subsequent fully connected layer outputs a cycle-wise prediction of future capacity degradation trends. Each future cycle prediction is used as input for the next time step and pushed forward until the predicted capacity first reaches the lifespan termination threshold determined by the cell's rated capacity and product failure criteria. The cycle difference between this first reached cycle and the currently completed cycle is then determined as the initial remaining cycle lifespan value. The lifespan termination threshold is determined based on cell manufacturer specifications, vehicle safety requirements, or verified capacity retention standards.
[0039] The initial remaining cycle lifetime value is used as the data-driven prediction result. The EIS equivalent circuit parameters, discharge capacity, internal resistance, charging time, temperature statistics, and incremental capacity differential curve features of the current cycle are used as the input confidence rule base. Relevant confidence rules are activated according to the degree of matching between each input value and the corresponding rule reference level. The rule weights are then calibrated by combining the difference between the current vehicle and the global degradation distribution and the prediction performance of each rule in the current vehicle's historical cycle. The confidence distribution of each activated rule for different remaining cycle lifetime intervals is recursively synthesized through evidence reasoning. Finally, the target remaining cycle lifetime value is obtained based on the center value of each lifetime interval and its corresponding confidence level. Thus, the GRU extrapolation results are individually corrected by using electrochemical characteristics and degradation mechanism priors.
[0040] In one embodiment, such as Figure 6 As shown, step S32 specifically includes the following steps: S321: Based on the newly accumulated charge and discharge cycle data of each vehicle's BMS, perform local fine-tuning on the first GRU fully connected network of each vehicle's BMS to obtain the parameter increment of each vehicle, and upload the parameter increment to the cloud aggregation server. S322: In the cloud aggregation server, the local sample size of each vehicle is used as the first weight component, and the similarity of the degradation stage distribution between the fused feature vector distribution of each vehicle and the global feature distribution is used as the second weight component. The product of the first weight component and the second weight component is normalized and used as the aggregation weight. S323: Based on the aggregation weight, the parameter increments uploaded by each vehicle are weighted and averaged to obtain the global aggregation parameters; S324: Distribute the global aggregation parameters to the local BMS of each vehicle, overlay them onto the local first GRU fully connected network, and update to obtain the second GRU fully connected network.
[0041] In this embodiment, each vehicle's BMS continuously saves newly added global degradation trend sequences, fused feature vectors, and corresponding capacity supervision data according to charge / discharge cycle numbers. After the number of newly accumulated effective charge / discharge cycles reaches a preset update batch, the fine-tuning process of the first GRU fully connected network is initiated. This update batch can be set according to the BMS's computing resources and the vehicle's data growth rate; for example, it can be set to trigger once every 10 newly accumulated effective charge / discharge cycles. Samples that fail data quality verification, have incomplete cycle records, or have abnormal capacity results are not included in the local sample count. Before fine-tuning begins, the BMS reads the most recently released model version from the cloud and the current weights of the first GRU fully connected network. It constructs time-series samples from the newly added degradation trend sequences according to the time window and normalization parameters used during network training. Then, it performs a small number of incremental training rounds with the current network parameters as initial values to adapt the network to the vehicle's recent capacity decay rate, temperature conditions, and usage habits, while retaining the general degradation rules already learned by the first GRU fully connected network. After training, the corresponding parameters before and after fine-tuning are subtracted layer by layer to obtain the parameter increments. ,in, These are the network parameters before fine-tuning. The network parameters were fine-tuned, and the parameter increments, along with the vehicle anonymity identifier, base model version, effective sample size for this round, sample size for each degradation stage, and fusion feature distribution summary, were packaged into a parameter update message and uploaded to the cloud aggregation server. Meanwhile, the original current and voltage curves, capacity sequences, and single-cycle feature data were all stored locally in the vehicle BMS.
[0042] After receiving parameter update messages from multiple vehicles, the cloud aggregation server verifies the base model version, parameter dimensions, and data integrity, and removes updates with inconsistent model versions, abnormal parameters, or insufficient valid samples. It then uses the number of valid samples from each vehicle participating in this round of fine-tuning as the first weight component, ensuring that vehicles with more valid samples receive a higher base contribution. Simultaneously, it determines the degradation stage distribution based on the fusion feature distribution summary uploaded by each vehicle and compares it with the global feature distribution stored in the cloud. The similarity between the two in the early, mid, and deep degradation stages is used as the second weight component, ensuring that vehicles with more complete degradation stage coverage and closer to the global target distribution receive a higher distribution contribution, while vehicles concentrated in a single degradation stage or significantly deviating from the global distribution receive a lower contribution. Finally, the first and second weight components of each vehicle are multiplied, and the sum of the products from all participating vehicles is normalized to ensure that the sum of the aggregated weights for all vehicles is 1. This prevents a large number of similar early degradation samples from dominating model updates when aggregating solely by sample quantity.
[0043] The cloud-based system performs a weighted average of parameter increments at the same network layer and parameter position according to the aggregation weights corresponding to each vehicle, forming global aggregated parameters. Before aggregation, parameter increments with significantly abnormal numerical amplitudes are checked for validity to prevent global model shifts caused by local training instability in a single vehicle. After aggregation, the cloud encapsulates the global aggregated parameters, target model version, and normalized parameter version into a model update package and distributes it to each vehicle's BMS. After confirming that the model update package is complete and the version matches, each vehicle overlays the global aggregated parameters onto the corresponding parameter positions of its local first GRU fully connected network to obtain a second GRU fully connected network. Inference verification is performed using locally retained validation time-series samples. If the updated network output does not show significant jumps and the validation error is not worse than the network before the update, the second GRU fully connected network is switched to the current network used for subsequent remaining cycle lifetime prediction; otherwise, the first GRU fully connected network is retained and awaits the next round of aggregation updates.
[0044] In one embodiment, step S34 specifically includes the following steps: The first component is the KL divergence between the fused feature vector and the global feature distribution, and the second component is the historical prediction accuracy of each confidence rule in the confidence rule base on the current vehicle historical data. The first and second components are weighted and merged to obtain the migration fusion factor of each confidence rule. The weights of each confidence rule in the confidence rule base are calibrated using the migration fusion factor to obtain the calibrated confidence rule base; The fused feature vector and the initial remaining cycle lifetime value are substituted into the calibrated confidence rule base to calculate the activation intensity of each confidence rule. The confidence distribution of each activation rule is then recursively synthesized by weighting the activation intensity using the evidence reasoning algorithm to obtain the target confidence distribution of each remaining cycle lifetime interval. The target remaining cycle lifetime value is the sum of the products of the center value of each remaining cycle lifetime interval and the corresponding target confidence distribution.
[0045] In this embodiment, the global fusion feature distribution formed by historical samples from multiple vehicles is stored in the cloud, and the fusion feature vector set of the most recent effective charge and discharge cycle is selected locally in the current vehicle's BMS. It is processed according to the feature order, normalization parameters and distribution partitioning method used in the training phase to make the current vehicle feature distribution and the global feature distribution on the same scale. Then, the KL divergence between the two is calculated to measure the degree to which the current vehicle's degradation features deviate from the overall degradation pattern of the fleet. The larger the KL divergence, the more obvious the difference between the current vehicle's cell batch, operating temperature, charging and discharging habits or attenuation trajectory and the global samples. Therefore, before forming the migration fusion factor, the KL divergence is converted into a similarity component that decreases as the divergence increases, and the intervals with zero probability in the feature distribution are smoothed to avoid invalid values in the divergence calculation. Simultaneously, for the i-th rule in the confidence rule base, the prediction record of this rule on the existing historical cycles of the current vehicle is read, and its output remaining cycle life interval is compared with the remaining life interval obtained from subsequent actual observations. The historical prediction accuracy of this rule is calculated. For historical vehicles or historical cycles that have crossed the life-end threshold, the true remaining cycle life interval is determined based on the actual cycle position that crossed the life-end threshold, and the historical prediction accuracy of each confidence rule is calculated accordingly. For vehicles that have not yet reached the life-end point, the corresponding historical data is used as right-censored data. The prediction accuracy of the complete remaining cycle life interval is not directly calculated. The reliability of the stage rule can be determined based on the capacity trajectory prediction error within a fixed prediction window. When a rule lacks sufficient individual historical records, the accuracy of this rule on the global validation data is temporarily used as the initial value to prevent a small number of samples from causing drastic changes in the rule weights. The similarity component and the historical prediction accuracy are processed on the same scale and weighted and merged according to the two weights determined in advance through historical validation to obtain the migration fusion factor corresponding to each confidence rule. This process assigns a larger transfer fusion factor to rules that closely match the current vehicle feature distribution and have a good historical prediction performance, while reducing the transfer fusion factor for rules with low individual fit or large historical prediction errors. Then, according to... The original rule weights are calibrated, whereby... For the first The original weights of the rules, The calibrated rule weights are used to normalize all calibrated weights, resulting in a calibrated confidence rule base applicable to the current vehicle degradation characteristics.
[0046] After rule calibration, the EIS equivalent circuit parameters, discharge capacity, internal resistance, charging time, temperature statistics, incremental capacity differential curve characteristics, and the initial remaining cycle lifetime value output by the GRU for the current cycle are sequentially matched with the reference level or judgment range in each rule's antecedent. When the input value falls between adjacent reference levels, the matching degree is assigned according to their relative position. Then, the matching degree of each antecedent variable is combined with the calibrated rule weights to obtain the activation intensity of the corresponding rule, and only rules with activation intensity greater than zero are retained for subsequent inference. Subsequently, the rule activation intensity is incorporated into the calibration weights to form effective evidence weights, and an evidence inference algorithm is used according to... Each activation rule is recursively synthesized sequentially, where, For the first The remaining cycle life interval For the first The confidence level of the rule for this lifetime range. The target confidence level for the lifespan interval is formed by synthesizing multiple rules. After each rule is synthesized, the resulting confidence distribution is used as new comprehensive evidence and merged with the next activation rule until all activation rules are processed. The final confidence distribution is then normalized and its integrity is checked to ensure that the confidence level corresponding to each lifespan interval reflects the probability that the current vehicle falls into different remaining lifespan ranges. Calculate the target remaining cycle life value, where, For the first The center value of each remaining cycle lifetime interval To arrive at the final output, the GRU time-series extrapolation results, current electrochemical degradation characteristics, distribution differences between individual vehicles and global samples, and the historical reliability of each confidence rule are all incorporated into the lifetime prediction process.
[0047] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0048] In one embodiment, a BMS battery remaining life prediction device based on historical data learning is provided, which corresponds one-to-one with the BMS battery remaining life prediction method based on historical data learning in the above embodiments. For example... Figure 7 As shown, the BMS battery remaining life prediction device based on historical data learning includes: Module 701 is used to apply AC excitation to the lithium-ion battery and construct a fused feature vector according to the charge and discharge cycle of the lithium-ion battery of the self-balancing vehicle. The capacity calculation module 702 is used to input the fused feature vector into the deep ensemble network for multiple random forward inferences to obtain the first capacity inference value. At the same time, the current and voltage curves of the charge and discharge cycle are input into the regularization auxiliary network to calculate the second capacity inference value. The first capacity inference value and the second capacity inference value are weighted and fused to obtain the historical reconstructed capacity sequence. The lifetime calculation module 703 is used to perform empirical mode decomposition on the historical reconstruction capacity sequence to obtain the global degradation trend sequence, and calculate the target remaining cycle lifetime value based on the global degradation trend sequence and the confidence rule base. The processing module 704 is used to push battery replacement suggestions and information on nearby authorized service outlets to the user terminal when the target remaining cycle life value is lower than a preset proportion of the total design cycle life.
[0049] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0050] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments 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 as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0051] This application also provides a computer device, such as... Figure 8 As shown, the computer device includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor. When the processor executes the computer program, it implements the steps in any of the above method embodiments, or when the processor executes the computer program, it implements the functions of each module / unit in the above device embodiments.
[0052] For example, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to complete this application. The one or more modules / units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the computer device.
[0053] Those skilled in the art will understand that Figure 8 The computer device described is merely an example and does not constitute a limitation on the computer device. It may include more or fewer components than shown, or combine certain components, or different components. For example, the computer device may also include input / output devices, network access devices, buses, etc.
[0054] The aforementioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), or field-programmable gate arrays (FPGAs). Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0055] The memory can be an internal storage unit of the computer device, such as a hard drive or RAM. The memory can also be an external storage device of the computer device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory can include both internal and external storage units of the computer device.
[0056] This application also provides a readable storage medium storing a computer program, which, when executed by a processor, can implement the steps in the above-described method embodiments.
[0057] This application provides a computer program product that, when run on an electronic device, enables the electronic device to implement the steps described in the various method embodiments above.
[0058] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0059] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0060] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0061] In the embodiments provided in this application, it should be understood that the disclosed apparatus / devices and methods can be implemented in other ways. For example, the apparatus / device embodiments described above are merely illustrative. For instance, the division of modules or 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 through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0062] 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.
[0063] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for predicting the remaining life of a BMS battery based on historical data learning, characterized in that, include: According to the charge and discharge cycle of the lithium-ion battery of the self-balancing scooter, AC excitation is applied to the lithium-ion battery and a fused feature vector is constructed. The fused feature vector is input into a deep ensemble network for multiple random forward inferences to obtain a first capacity inference value. At the same time, the current-voltage curve of the charge-discharge cycle is input into a regularization auxiliary network to calculate a second capacity inference value. The first capacity inference value and the second capacity inference value are weighted and fused to obtain a historical reconstructed capacity sequence. Empirical mode decomposition is performed on the historical reconstruction capacity sequence to obtain a global degradation trend sequence, and the target remaining cycle lifetime value is calculated based on the global degradation trend sequence and the confidence rule base. When the target remaining cycle life value is lower than a preset proportion of the total design cycle life, a battery replacement suggestion and information on nearby authorized service outlets will be pushed to the user terminal.
2. The BMS battery remaining life prediction method based on historical data learning as described in claim 1, characterized in that, The step of applying AC excitation to the lithium-ion battery and constructing a fused feature vector according to the charge / discharge cycle of the self-balancing scooter's lithium-ion battery includes: During the resting window after each charge and discharge cycle of the lithium-ion battery of the self-balancing scooter, AC excitation signals of different frequencies are applied to the lithium-ion battery, the impedance response at each frequency point is collected, and the equivalent circuit model is fitted to obtain the EIS equivalent circuit parameters. Based on the incremental capacity differential curve of the discharge capacity voltage data within the charge-discharge cycle, the peak voltage position, peak area, and peak slope of the main peak are extracted from the incremental capacity differential curve, and the peak voltage position, peak area, and peak slope are used as feature parameters of the incremental capacity differential curve. A fused feature vector is constructed based on the EIS equivalent circuit parameters, the discharge capacity, internal resistance, charging time and temperature statistics of the charge and discharge cycle, and the feature parameters of the incremental capacity differential curve.
3. The BMS battery remaining life prediction method based on historical data learning as described in claim 2, characterized in that, The process involves inputting the fused feature vector into a deep ensemble network for multiple random forward inferences to obtain a first capacity inference value. Simultaneously, the current-voltage curve of the charge-discharge cycle is input into a regularization auxiliary network to calculate a second capacity inference value. The first and second capacity inference values are then weighted and fused to obtain a historically reconstructed capacity sequence, including: The fused feature vector is input into a deep ensemble network. During the inference phase, the Dropout layer is kept active and multiple random forward propagations are performed on the same input to output multiple initial inference values. The mean of the multiple initial inference values is used as the capacity inference value and the variance of the multiple initial inference values is used as the cognitive uncertainty. Input the curve data points from the current-voltage curve of the charge-discharge cycle into the regularization auxiliary network to calculate the second capacity estimation value; Using the reciprocal of the cognitive uncertainty as a dynamic weight, the first capacity inference value and the second capacity inference value are weighted and fused to obtain the historical reconstruction capacity sequence.
4. The BMS battery remaining life prediction method based on historical data learning as described in claim 3, characterized in that, The step of performing empirical mode decomposition on the historical reconstruction capacity sequence to obtain a global degradation trend sequence, and calculating the target remaining cycle lifetime value based on the global degradation trend sequence and the confidence rule base, includes: The historical reconstruction capacity sequence is sieved into several intrinsic mode function components and residual components, and the residual components are used as the global degradation trend sequence; The parameters of the first GRU fully connected network in each vehicle's BMS are incrementally uploaded to the cloud aggregation server. The aggregated parameters are obtained by weighted federated averaging using the local sample size and degradation stage distribution similarity of each vehicle as the aggregation weight. The aggregated parameters are then sent to the first GRU fully connected network to update and obtain the second GRU fully connected network. The global degradation trend sequence is input into the second GRU fully connected network for time-series extrapolation to obtain the initial remaining cycle lifetime value. The initial remaining cycle lifetime value and the fused feature vector are substituted into the confidence rule base to calculate the target remaining cycle lifetime value.
5. The BMS battery remaining life prediction method based on historical data learning as described in claim 4, characterized in that, The process of incrementally uploading parameters from the first GRU fully connected network of each vehicle's BMS to the cloud aggregation server, performing a weighted federated average with the local sample size and degradation stage distribution similarity of each vehicle as aggregation weights to obtain aggregated parameters, and then distributing the aggregated parameters to the first GRU fully connected network to update and obtain the second GRU fully connected network includes: Based on the newly accumulated charge and discharge cycle data of each vehicle's BMS, local fine-tuning is performed on the first GRU fully connected network of each vehicle's BMS to obtain the parameter increments of each vehicle, and the parameter increments are uploaded to the cloud aggregation server. In the cloud aggregation server, the local sample size of each vehicle is used as the first weight component, and the similarity of the degradation stage distribution between the fused feature vector distribution of each vehicle and the global feature distribution is used as the second weight component. The product of the first weight component and the second weight component is normalized and used as the aggregation weight. Based on the aggregation weight, the parameter increments uploaded by each vehicle are weighted and averaged to obtain the global aggregation parameters; The global aggregation parameters are sent to the local BMS of each vehicle and superimposed on the local first GRU fully connected network to update and obtain the second GRU fully connected network.
6. The BMS battery remaining life prediction method based on historical data learning as described in claim 5, characterized in that, The step of substituting the initial remaining cycle lifetime value and the fused feature vector into the confidence rule base to calculate the target remaining cycle lifetime value includes: The first component is the KL divergence between the fused feature vector and the global feature distribution, and the second component is the historical prediction accuracy of each confidence rule in the confidence rule base on the current vehicle historical data. The first component and the second component are weighted and merged to obtain the migration fusion factor of each confidence rule. The migration fusion factor is used to calibrate the weights of each confidence rule in the confidence rule base to obtain the calibrated confidence rule base; The fused feature vector and the initial remaining cycle lifetime value are substituted into the calibrated confidence rule base to calculate the activation intensity of each confidence rule. The confidence distribution of each activation rule is weighted according to the activation intensity and then recursively synthesized by the evidence reasoning algorithm to obtain the target confidence distribution of each remaining cycle lifetime interval. The target remaining cycle lifetime value is the sum of the products of the center value of each remaining cycle lifetime interval and the corresponding target confidence distribution.
7. A BMS battery remaining life prediction device based on historical data learning, characterized in that, The steps for implementing the BMS battery remaining life prediction method based on historical data learning as described in any one of claims 1 to 6 include: A construction module is used to apply AC excitation to the lithium-ion battery and construct a fused feature vector according to the charge and discharge cycle of the lithium-ion battery of the self-balancing scooter. The capacity calculation module is used to input the fused feature vector into a deep ensemble network for multiple random forward inferences to obtain a first capacity inference value, and simultaneously input the current and voltage curves of the charge and discharge cycle into a regularization auxiliary network to calculate a second capacity inference value. The first capacity inference value and the second capacity inference value are weighted and fused to obtain a historical reconstructed capacity sequence. The lifetime calculation module is used to perform empirical mode decomposition on the historical reconstruction capacity sequence to obtain a global degradation trend sequence, and calculate the target remaining cycle lifetime value based on the global degradation trend sequence and the confidence rule base. The processing module is used to push battery replacement suggestions and information on nearby authorized service outlets to the user terminal when the target remaining cycle life value is lower than a preset proportion of the total design cycle life.
8. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the BMS battery remaining life prediction method based on historical data learning as described in any one of claims 1 to 6.
9. A readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the BMS battery remaining life prediction method based on historical data learning as described in any one of claims 1 to 6.
10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the BMS battery remaining life prediction method based on historical data learning as described in any one of claims 1 to 6.
