Skip to Content
BatteriesBatteries
  • Article
  • Open Access

10 June 2026

25 Pages

Inconsistency Diagnosis of Power Batteries Based on End-Cloud Collaboration

,
,
,
,
and
1
College of Communication Engineering, Jilin University, Changchun 130025, China
2
General R&D Institute of FAW, Changchun 130062, China
3
FAW Bestune Automotive Co., Ltd., Changchun 130600, China
4
China Software Testing Center, Beijing 100038, China

Abstract

In electric vehicles, power batteries consist of numerous individual cells connected in series or parallel. Variations in manufacturing, operating conditions, and aging can lead to differences among these cells. Such inconsistencies can compromise the battery pack’s performance, safety, and overall service life. Therefore, accurately diagnosing inconsistencies among battery cells is of great significance for enhancing the reliability of the battery system and ensuring the operational safety of the vehicle. To address the limited computational resources available in vehicles, this paper proposes an end-cloud collaborative fault diagnosis framework and validates its effectiveness using real-world vehicle driving data. On the cloud side, a deep learning-based reconstruction network is developed to enable high-precision reconstruction of cell voltages. On the vehicle side, a second-order equivalent circuit model is used to represent battery dynamics. An adaptive forgetting factor recursive least squares method is introduced for online estimation of the model parameters, enabling accurate local prediction of individual cell voltages. Using the cloud-reconstructed and vehicle-predicted cell voltages, the extreme difference value of voltage for each cell is computed. A comprehensive diagnosis of inconsistency faults is then performed by fusing the extreme difference in voltage results from both the cloud and vehicle sides via the Extended Kalman Filter (EKF); threshold judgment is conducted based on the fused results, and the Cumulative Sum (CUSUM) algorithm is designed to identify cell inconsistency faults. Experimental results show that the proposed method effectively detects battery inconsistency faults and demonstrates strong engineering applicability and practical potential.

1. Introduction

1.1. Research Motivation

Against the backdrop of the growing severity of global environmental pollution and the depletion of fossil energy resources, electric vehicles, as a representative of clean transportation, are gaining rapid development. Lithium-ion batteries have become the dominant power source for electric vehicles, thanks to their high energy density, long cycle life, and low self-discharge rate. However, during real-world operation, lithium-ion battery performance tends to diverge over time due to differences in manufacturing processes, operating conditions, and environmental factors, resulting in power battery inconsistency. This issue stems primarily from inherent differences among individual cells—including variations in manufacturing tolerances, initial capacity, internal resistance, and operating temperature—and is further worsened over repeated charge–discharge cycles. Battery inconsistency refers to the differences in key characteristic parameters among individual cells within a battery pack, and it is a core factor that causes system performance degradation and safety risks. This inconsistency can be measured from multiple dimensions such as operating voltage, temperature, internal resistance, and aging state. Considering that voltage and temperature parameters can be directly obtained through on-board sensors, which have good observability and engineering practicality, battery operating voltage is often used as an inconsistency evaluation index. Battery inconsistency can accelerate capacity degradation of the pack, reduce the vehicle’s effective driving range, and, in extreme situations, may lead to safety hazards such as thermal runaway, thereby significantly undermining both reliability and safety. Therefore, accurately identifying and diagnosing inconsistencies among power battery cells is of considerable theoretical and practical importance, as it enhances battery management system performance and supports the safe, stable operation of electric vehicles.

1.2. Literature Review

Power battery pack inconsistency arises from multiple factors, primarily falling into two categories: inherent differences introduced during manufacturing [1,2] and operational disparities resulting from external conditions during use [3,4]. Inherent differences mainly appear as variations in initial capacity, internal resistance, and self-discharge rate across individual cells, originating from process fluctuations and material inconsistencies during electrode fabrication and cell assembly [5,6]. Operational discrepancies, by contrast, arise from external conditions encountered during real-world use—including non-uniform temperature distribution, fluctuating current loads, and dynamic changes in state of charge [7]. A strong propagation and coupling mechanism exists between these two categories of factors. Small initial variations in cell parameters can be progressively magnified during cycling by uneven current distribution, temperature gradients, and differences in depth of discharge, continually worsening performance divergence and accelerating the aging of the battery pack [8]. Researchers around the world have carried out extensive studies on diagnosing inconsistency faults in battery cells. Existing methods generally fall into two categories: model-based approaches and data-driven approaches.
Model-based approaches begin by constructing mathematical models that capture the dynamic behavior of batteries, enabling simulation of their external charging and discharging responses as well as internal state evolution [9]. Commonly used modeling approaches fall into two main categories: electrochemical models and equivalent circuit models. Electrochemical models use systems of partial differential equations to describe the diffusion of lithium ions within electrode particles and their transport through the electrolyte [10]. In contrast, equivalent circuit models represent battery dynamics using electrical components such as resistors and capacitors arranged in a network topology [11]. Equivalent circuit models are typically paired with algorithms such as the Recursive Least Squares (RLS) method or Particle Swarm Optimization (PSO) to identify time-varying model parameters such as ohmic resistance, polarization resistance, and polarization capacitance, either online or offline [12]. Once a valid battery model is obtained, anomaly detection is carried out by comparing discrepancies in the characteristic values predicted by the model. For example, Zheng et al. [13] used a Mean Difference Model (MDM) in combination with an Extended Kalman Filter to evaluate State of Charge (SOC)-based inconsistencies among individual cells. Lin et al. [14] developed five electrochemical-thermal coupled models to identify inconsistencies in the thermal behavior of battery cells. Zhang et al. [15] proposed a novel method for identifying parameters of the equivalent circuit model (ECM) of lithium-ion batteries, which takes electrochemical characteristics into account. Finally, simulation and experimental results verify the correctness and effectiveness of the proposed method.
Data-driven methods do not depend on explicit models of the internal physicochemical processes of batteries [16]. Instead, they analyze historical and real-time operational data, such as voltage, current, and temperature time series, to extract relevant features and uncover underlying patterns [17]. This approach typically uses machine learning and artificial intelligence techniques, such as clustering algorithms to group battery cells for anomaly detection or classifiers like Support Vector Machines (SVM) and neural networks to identify and predict inconsistency states [18]. For feature construction, researchers derive various statistical and dynamic features from voltage sequences to differentiate among types of inconsistencies [19,20]. For instance, Liu et al. [21] classified voltage inconsistencies into static and dynamic types, with dynamic inconsistencies further divided into progressive fluctuation faults and abrupt fluctuation faults. They employed weighted Euclidean distance evaluation and statistical analysis to diagnose faults and identify their types. To capture nonlinear dynamic characteristics in voltage sequences, Lin et al. [22] developed an evaluation method based on hybrid multi-scale permutation entropy, while Jiang et al. [23] applied wavelet packet decomposition to extract frequency-domain features that improve fault sensitivity. Furthermore, information entropy and correlation coefficient analysis have been used to quantify the similarity and consistency among voltage curves, aiding in a range of fault diagnosis tasks [24,25,26]. At the methodological level, data-driven diagnosis of battery inconsistency is increasingly shifting from traditional machine learning toward deep learning approaches [27,28]. Early research primarily employed methods such as Support Vector Machines (SVM) and clustering algorithms, including the improved Local Outlier Factor, to group cells and identify those exhibiting abnormal behavior [29,30]. Nie et al. [31] proposed an unsupervised scoring and hierarchical early warning-based fault detection algorithm that leverages multi-feature clustering fusion. A hierarchical early warning mechanism for fault detection is realized based on real-time scoring results and cumulative values, so as to ensure high detection accuracy. In recent years, deep learning methods have been widely adopted. For example, Wang et al. [32] developed a Deep Belief Network (DBN) optimized with a Fireworks Algorithm (FWA) for detecting inconsistency faults. Cui et al. [33] developed a Long Short-Term Memory (LSTM) network to estimate current distribution across parallel branches within a battery pack, enabling diagnosis of current inconsistency without requiring additional hardware. Jeng et al. [34] developed an autoencoder network to evaluate inter-cell consistency by analyzing reconstruction error. Chen et al. [35] applied a deep embedded clustering approach to automatically identify inconsistent cells without the need for labeled data. H. Zhang et al. [36] demonstrate that inter-cell information learning helps improve the stability of battery state prediction. This study can draw on their cross-cell information modeling concept by using global feature broadcasting and cell positional encoding to learn voltage correlations among cells within the battery pack, thereby improving the accuracy of inconsistency fault diagnosis. H. Zhang et al. [37] have proposed the open-source platform BatteryML, which integrates data preprocessing, feature extraction and multiple model implementations, providing a unified and efficient framework for research. This paper can draw on its integrated approach in method design to enhance the efficiency and generalization ability of voltage prediction and fault diagnosis. Our previous work [38] showed that end-cloud collaboration can balance accuracy and real-time performance in battery health estimation. Building on this idea, this study applies the framework to battery cell voltage inconsistency diagnosis. Furthermore, our team [39] also conducted in-depth research on the selection of the time window for battery characteristics. The sliding window method used in this article is inspired by the content of this paper.
Although some of the aforementioned methods have provided valuable insights for future development, they still encounter considerable challenges and limitations in the actual diagnosis of vehicle faults.
A key challenge lies in the tension between limited onboard computational resources and the high complexity of advanced diagnostic models. The battery management system is required to perform multiple tasks concurrently, including state estimation, charge/discharge management, and fault diagnosis. However, the limited computational power on the vehicle side is inadequate to support the efficient operation of complex models. This makes it impractical to deploy large data-driven deep learning models directly on the vehicle. Although traditional diagnostic methods based on equivalent circuit models are computationally lightweight, their parameter identification is highly sensitive to data quality and often lacks accuracy in real-world, noise-prone operating conditions.
Existing diagnostic methods exhibit insufficient adaptability and accuracy under complex real-world driving conditions. Model-based methods depend on mathematical representations of battery physics, which are susceptible to model mismatch over the battery’s lifetime and often fail to capture the unique characteristics of individual cells. Most existing studies employ a uniform modeling strategy, neglecting cell-specific variations arising from factors such as assembly position and divergent aging trajectories. While data-driven methods can uncover hidden inconsistency features within data, they rely heavily on large amounts of high-quality labeled data. In scenarios where real-world fault samples are scarce, their generalization capability is significantly compromised.
Existing research provides insufficient coverage of real-world operating environments. Most diagnostic algorithms are developed based on laboratory standard conditions or bench test data, making it difficult for them to effectively capture the complex dynamic behaviors and multi-fault coupling scenarios encountered during actual vehicle operation.

1.3. Contributions of This Work

The contributions of this paper are summarized as follows:
First, an end-cloud collaborative diagnosis framework is proposed for battery cell voltage inconsistency faults. The cloud side performs high-accuracy voltage reconstruction using a deep learning model, while the vehicle side conducts lightweight local voltage prediction based on a physical model. The two branches provide complementary diagnostic information from data-driven and physics-based perspectives. The cloud-side and vehicle-side voltage extreme differences are further fused using EKF, and a dynamic-threshold-based sustained fault confirmation strategy is adopted to reduce the influence of single-source errors and transient fluctuations.
Second, a cloud-side voltage reconstruction network tailored to battery cell voltage sequences is developed. To address the complex operating conditions, temperature variations, measurement noise, and discontinuous charging and discharging segments in real vehicle data, the proposed network introduces a global feature broadcast mechanism within an architecture based on the improved Transformer. Global operating features, such as total current, maximum temperature, and minimum temperature, are incorporated into the local representation of each cell, enabling the model to consider both individual voltage history and pack-level operating conditions. In addition, cell positional encoding is introduced to enhance the modeling of spatial correlations and consistency relationships among different cells, thereby improving the accuracy of voltage reconstruction under complex real-world conditions.
Third, a lightweight vehicle-side prediction model is constructed based on a second-order equivalent circuit model and online parameter identification. The second-order ECM can describe the ohmic voltage drop, fast polarization, and slow diffusion dynamics with relatively low computational complexity, making it suitable for vehicle-side deployment. To reflect the dynamic differences among individual cells caused by aging, assembly position, and usage history, independent ECMs with the same structure but different parameters are established for each cell. The model parameters are identified online using a forgetting-factor recursive least squares algorithm, allowing the vehicle-side model to adapt to changing operating states and provide physically interpretable voltage predictions for end-cloud fusion diagnosis.
The rest of the paper is structured as follows:
Section 2 presents the EKF end-cloud collaborative fault diagnosis fusion architecture proposed in this paper. It comprises a cloud-side battery voltage reconstruction network that combines a global feature broadcast mechanism with a cross-attention mechanism, as well as a vehicle-side second-order equivalent circuit model and its associated parameter identification system. Section 3 describes the source and acquisition conditions of the experimental data, along with the preprocessing steps applied. It also outlines the experimental protocol and explains the rationale behind the selection of evaluation metrics. Section 4 validates the effectiveness of the proposed method based on operational data from multiple real-world vehicles. Furthermore, it assesses the contribution of each module through comparative experiments and ablation studies. Finally, Section 5 summarizes the research work presented in this paper and discusses potential future research directions and application prospects.

2. Materials and Methods

The overall architecture of the proposed method consists of three core components: a cloud-side deep learning time-series model, a vehicle-side equivalent circuit model, and an end-cloud collaborative fault diagnosis fusion framework. On the cloud side, a deep learning-based time-series voltage reconstruction model is constructed to overcome the limited accuracy of vehicle-side models under complex operating conditions. The model introduces a global feature broadcast mechanism that incorporates system-level features, such as current and extreme temperatures, into the feature representation of each individual cell. At the same time, it explicitly captures the spatial arrangement and inter-cell coupling through positional encoding and a cross-attention mechanism, enabling high-precision reconstruction of individual cell voltages. On the vehicle side, a second-order RC equivalent circuit model is adopted to accurately characterize battery dynamics while fully accounting for inherent cell-to-cell variations. Specifically, individual models with identical structures but independent parameters are established for each battery cell. The model parameters are identified online using a fading-memory recursive least squares method. This algorithm enhances the model’s ability to track time-varying battery characteristics by dynamically adjusting the weight of historical data through the introduction of a forgetting factor. Finally, an end-cloud fusion strategy based on the Extended Kalman Filter is proposed. By incorporating the high-precision reconstructed voltage from the cloud, the end-side predicted voltage is dynamically calibrated—specifically, this method leverages the cloud-based high-precision reconstructed voltage to perform real-time calibration and update of the predicted voltage generated by the end-side model. This strategy significantly improves the accuracy and robustness of inconsistency fault diagnosis. The overall methodology workflow is presented in Figure 1.
Figure 1. Framework of the proposed end-cloud collaboration for cell inconsistency detection. The black arrows indicate the data flow between the vehicle side and the cloud side; the gray arrows indicate the fusion of the vehicle-side and cloud-side results through EKF; and the dashed boxes represent the residual connection process.

2.1. Establishment of Cloud-Side Deep Learning Time-Series Model

In the cloud-side diagnostic system, this study develops a deep learning-based time-series voltage reconstruction model to address the limitations of vehicle-side equivalent circuit models, which often struggle to maintain accuracy under complex conditions such as dynamic operation, rapid temperature fluctuations, and noise interference. The model employs a multi-layer encoder–decoder architecture specifically designed to reconstruct the true voltage dynamics of individual battery cells from noisy measurement data. To address the limitation of traditional cell-specific modeling approaches that often ignore the overall system operational state, the proposed model introduces a global feature broadcast mechanism. This mechanism incorporates key global operational parameters, such as total system current, maximum temperature, and minimum temperature, into the local feature representation of each individual cell through feature replication and dimension alignment. This design allows the model to reconstruct each cell’s voltage not only from its own historical voltage sequence but also by accounting for the system’s overall load conditions and thermal distribution. As a result, the model gains a stronger ability to capture co-varying operational conditions. At the same time, to address the discontinuities in voltage sequences caused by multiple separate charge–discharge segments in real-world vehicle data, a sliding window mechanism is implemented that does not cross boundaries between different segments. As shown in Figure 2, this mechanism dynamically adjusts the sliding step size to ensure that each sampling window includes only continuous data from the current charge–discharge segment. Within a charge–discharge segment, the window advances with a unit step size to fully capture local temporal features. When the window approaches the end of a segment, the step size is set to skip the remaining data in the current segment and the gap that follows, thereby positioning the window directly at the start of the next continuous segment. This adaptive window sliding strategy effectively avoids interference between the voltage dynamics of different charge–discharge segments. By ensuring that the model learns only from continuous and complete voltage trajectories, it substantially enhances the temporal consistency and accuracy of voltage reconstruction.
Figure 2. Sliding window mechanism for intra-segment data continuity. The yellow filling indicates one time point within each charging segment, and the black arrows indicate the movement process of the sliding window.
Secondly, to accurately capture the complex spatiotemporal coupling relationships within the battery pack, the model employs a dual-level modeling strategy based on an attention mechanism. The cloud network used in this paper is an improved version of the Transformer. A feature-encoder is added to the Transformer core to embed the original features and fuse multi-source features. The time window selected in this paper is 48 sampling steps, which is a relatively long time window. Compared with LSTM or GRU, Transformer directly models the dependencies between any steps within the sequence through the self-attention mechanism without relying on recursion. It can better capture long-term dependencies and global trends. For LSTM and GRU, longer time series dependencies need to be propagated through recursive state updates, which may lead to gradient disappearance or gradient attenuation problems. As illustrated in Figure 3, the proposed architecture consists of two components:
Figure 3. Network architecture for intra-cell deep feature extraction and inter-cell correlation modeling. The black arrows indicate the direction of data flow, while the blocks with different colors represent different feature components or positional encoding information in the feature embedding vectors.
Intra-cell deep feature extraction: At the feature processing level for each individual cell, learnable positional encoding is incorporated into its multidimensional time-series features to explicitly represent temporal dependencies across time steps. Subsequently, a cross-attention mechanism is used to allow the model to adaptively learn the intrinsic relationships and relative importance among different information dimensions—such as individual cell voltage, temperature, and the broadcasted global features. This enables the extraction of deep nonlinear coupled features, yielding a more expressive representation of each cell’s state.
Inter-cell correlation modeling: To decouple the mutual influences among series-connected cells, the model incorporates a physics-informed positional prior at the system level. Each individual cell is assigned a fixed positional encoding that reflects its physical assembly order within the battery pack. This allows the model to better align with the operational principles of real-world battery packs, thereby improving the reliability of fault diagnosis.
Through the hierarchical feature extraction and relational reasoning described above, spanning from intra-cell to inter-cell levels, the model integrates all relevant information to produce a precise reconstructed voltage for each individual battery cell. The reconstructed voltage, together with the estimated values from the vehicle-side equivalent circuit model, forms the input for the inconsistency criterion. Through the subsequent decision fusion module, precise and reliable diagnosis of cell inconsistency faults is ultimately achieved. To ensure the practical application value of this model, the parameters within the model will be updated regularly based on the collected historical data. The specific approach involves conducting transfer learning training by freezing some network layers and then performing fine-tuning, so as to guarantee the adaptability of the model.

2.2. Establishment of End Side Equivalent Circuit Model

To construct a fault diagnosis system with end-cloud collaborative capabilities, it is necessary to establish a model on the vehicle side that can accurately characterize the dynamic behavior of the battery. The equivalent circuit model is widely adopted due to its clear structure, easily identifiable parameters, and its ability to effectively represent the end-side voltage response and internal dynamic processes of the battery. Common equivalent circuit models include the first-order RC model [40] and the second-order RC model [41]. This study selects the second-order RC equivalent circuit model, as it offers a favorable balance between complexity and accuracy and effectively captures dynamic battery behaviors such as polarization effects. This study adopts the second-order RC equivalent circuit model, with its structure illustrated in Figure 4.
Figure 4. Schematic diagram of the second-order equivalent circuit model.
During the discharge process, the load current I L is positive, U L represents the end-side voltage across the load, U 1 and U 2 represent the polarization voltages in the second-order RC network, corresponding respectively to the faster electrochemical polarization process and the slower concentration polarization process within the battery. R 0 represents the ohmic internal resistance, while R 1 and R 2 represent the polarization resistances, and C 1 and C 2 represent the polarization capacitors. The OCV is the voltage measured when the battery is in equilibrium and there is no potential difference between the electrodes. It is a function of the SOC: O C V = f ( S O C ) . This paper employs two RC networks to represent electrochemical effects at different time scales. The time constants are defined as τ 1 = R 1 C 1 and τ 2 = R 2 C 2 , with τ 1 typically being less than τ 2 . The end-side voltage is calculated as follows:
U L t = U o c S O C − I L t R 0 − U 1 t − U 2 t
Among them, U o c denotes the open-circuit voltage, I L R 0 denotes the voltage drop across the ohmic internal resistance caused by the load current, U 1 and U 2 are calculated as follows:
d U 1 d t = − 1 R 1 C 1 U 1 + 1 C 1 I
d U 2 d t = − 1 R 2 C 2 U 2 + 1 C 2 I
OCV represents the balanced terminal voltage of the battery when it is unloaded and fully static. It reflects the internal chemical potential state of the battery. SOC represents the proportion of remaining lithium ions in the battery. For a given battery type, temperature and aging state, there exists a stable functional relationship between OCV and SOC. Therefore, it can be expressed using a polynomial function or by referring to a lookup table. The OCV-SOC lookup table used in this paper is provided by BESTUNE and is generated based on the calibration data of its real vehicle batteries, ensuring consistency with the experimental platform batteries and actual operating conditions. The relationship between OCV and SOC can be obtained via a lookup table. As shown in Figure 5, it illustrates the coupling relationship among the open-circuit voltage, state of charge, and operating temperature of the power battery. As can be seen from the figure, the OCV is highly sensitive to changes in SOC, showing a strong positive correlation. Under low-temperature conditions, the OCV values shift downward as a whole, and the voltage plateau characteristics weaken. In contrast, under high-temperature environments, the OCV curve exhibits a systematic upward shift.
Figure 5. Three-dimensional characterization of battery OCV versus SOC and temperature.
The uncertain parameters, namely R 0 , R 1 , C 1 , R 2 , and C 2 , need to be identified using existing real vehicle driving data combined with a least-squares method. To accurately capture the dynamic variations in each individual battery cell, separate parameter identification is performed for each cell while keeping the model structure unchanged. The Forgetting Factor Recursive Least Squares (FFRLS) method is a dynamic parameter identification algorithm. It enhances the model’s tracking capability for time-varying systems by assigning exponentially decaying weights to historical data, thereby amplifying the influence of recent observations and diminishing the effect of older data. This algorithm is widely used in battery parameter identification. It first requires constructing a standard linear observation equation by reformulating the voltage-current relationship of the circuit model into a linear regression form. This involves treating the terms corresponding to the parameters to be identified (such as resistance and capacitance) as the regressor vector, and the measured voltage or current as the observed output. Subsequently, a forgetting factor is introduced to recursively update the covariance matrix and gain matrix with weighting. This enables the algorithm to revise parameter estimates in real-time based on newly acquired data at each iteration, while automatically attenuating the contribution of historical data. Consequently, high-precision online tracking and identification of key parameters, such as internal resistance, polarization resistance, and capacitance, is achieved. To ensure the practical application value of this model, the end-side model will conduct parameter identification regularly based on historical data to adapt to the current state of the battery. The specific identification procedure is as follows:
Step 1: Establish the state space expression. Define the state variables, state equations, and output equations as shown in Equations (4), (5), and (6) respectively.
x = U 1 ; U 2
d x d t = A x + B I
U = U o c S O C − R 0 I − 1 1 x
Among these,
A = − 1 R 1 C 1 0 0 − 1 R 2 C 2   B = 1 C 1 1 C 2
Step 2: Perform discretization using the backward Euler method, with the approximation process shown in Equation (8).
d x d t ≈ x k − x k − 1 T s
Among them, x k and x k − 1 denote the state variables at the current time and the previous time. And T s denotes the sampling time. Substituting Equation (8) into the state Equation (5) yields the following discrete state equation as shown in Equation (9):
x k = Φ x k − 1 + Γ I k
Among these,
ϕ = I − T s A − 1
Γ = I − T s A − 1 T s B
Step 3: To simplify subsequent analysis, the intermediate parameters α 1 , α 2 , β 1 , and β 2 are calculated as follows:
I − T s A = 1 + T s R 1 C 1 0 0 1 + T s R 2 C 2
ϕ = 1 1 + T s R 1 C 1 0 0 1 1 + T s R 2 C 2 = α 1 0 0 α 2
Γ = ϕ T s B = T s C 1 1 + T s R 1 C 1 T s C 2 1 + T s R 2 C 2 = β 1 β 2
Step 4: Substitute the intermediate parameters α 1 ,   α 2 , β 1 , and β 2 into the discrete state equation and expand as follows:
U 1 k = α 1 U 1 k − 1 + β 1 I k
U 2 k = α 2 U 2 k − 1 + β 2 I k
Step 5: Substitute the RC network voltage into the end-side voltage equation. Eliminate U 1 and U 2 to obtain the end-side voltage differential equation:
U k = a 1 × U k − 1 + a 2 × U k − 2 + a 3 × I k + a 4 × I k − 1 + a 5 × I k − 2 + 1 − a 1 − a 2 × U o c S O C
Among them, a 1 to a 5 are constants. Express the above equation in the form of the least squares method:
U ( k ) = U k − 1 U k − 2 I k I k − 1 I k − 2 a 1 a 2 a 3 a 4 a 5
The parameters to be identified are:
R 0 = a 3 − a 4 + a 5 1 + a 1 − a 2
R 2 = t e r m 2 − R 0 τ 1 + τ 2 − τ 2 t e r m 1 − R 0 τ 1 − τ 2
R 1 = t e r m 1 − R 0 − R 2
C 1 = τ 1 R 1 , C 2 = τ 2 R 2
Among these,
Δ = 4 a 2 + a 1 2
τ 1 = T s 1 + a 2 + Δ 2 1 − a 1 − a 2 , τ 2 = T s 1 + a 2 − Δ 2 1 − a 1 − a 2
t e r m 1 = a 3 + a 4 + a 5 1 − a 1 − a 2 , t e r m 2 = T s a 3 − a 5 1 − a 1 − a 2
Step 6: Define the optimization objective function and solve.
Traditional offline parameter identification inevitably incurs errors due to parameter variations in real-world operating environments, thereby compromising model accuracy. To address this issue, the FFRLS method is employed for online identification of the model parameters. The FFRLS method has been widely adopted in real-time processing systems. It operates in a recursive manner and incorporates a forgetting factor to weight the most recent data more heavily, thereby accelerating the convergence rate. Based on in-depth analysis of the dynamic characteristics of the second-order equivalent circuit model and comprehensive consideration of engineering practice, the forgetting factor λ is selected as 0.99. At sampling time k, the model parameters are obtained by minimizing a cost function:
J L S = ∑ y k − φ k θ T 2
Among them, y k is the measured battery output at sampling time k , φ k is the regression vector linking observable variables to model parameters, and θ T is the transpose of the vector containing the battery internal parameters to be estimated via the least squares method.

2.3. Fault Diagnosis Fusion Framework for End-Cloud Collaboration

For the task of power battery cell inconsistency detection, this study constructs a mechanism-based equivalent circuit model and a data-driven time-series reconstruction model, aiming to enhance diagnostic robustness through the synergistic operation of this dual-model approach. Both models output a voltage estimation sequence for each individual battery cell, based on which the extreme difference value of voltage for each sequence is calculated and used as the criterion for inconsistency. When the extreme difference value of voltage exceeds a predefined safety threshold, it is judged as an inconsistency anomaly; otherwise, the state is considered normal. Consequently, each model generates an independent binary diagnostic result.
Given the parameter uncertainty and measurement noise of the on-vehicle equivalent circuit model, its voltage prediction accuracy is limited, which in turn impairs the reliability of battery inconsistency fault diagnosis. To address this issue, this paper proposes an end-cloud fusion strategy based on Kalman filtering—specifically, the paper employs the Kalman filtering algorithm to integrate the on-vehicle model and the cloud model. The Kalman filtering algorithm, as an effective autoregressive filter and an optimal state estimation method, serves as a powerful and highly versatile tool for estimating the state of a dynamic system when combining multiple pieces of uncertain information. In other words, for any dynamic system with information uncertainty, the Kalman filtering algorithm can make informed predictions about the system’s next behavior. Since the open-circuit voltage and state of charge exhibit a nonlinear lookup table relationship, the Extended Kalman filter—a derivative of the basic Kalman filtering framework adapted for nonlinear systems—is selected to implement the fusion process. The constructed state equation is defined as follows:
S O C k + 1 = S O C k − Δ t Q I L k
U 1 k + 1 = e − Δ t R 1 C 1 U 1 k + R 1 ( 1 − e − Δ t R 1 C 1 ) I L k
U 2 k + 1 = e − Δ t R 2 C 2 U 2 k + R 2 ( 1 − e − Δ t R 2 C 2 ) I L k
Among these, Q represents the nominal capacity of the battery and Δ t denotes the discrete time step used in the state update process.
The observation equation is defined as:
z k = U O C S O C k − I L k R 0 − U 1 k − U 2 k + υ k
Among these, z k is the observed end-side voltage of the battery at the k-th time step and υ k is the observation noise at the k-th time step.
After constructing the state equation and observation equation, the Extended Kalman Filter is adopted to handle the nonlinear observation equation, where f denotes the linear state function and h represents the nonlinear observation function:
f x k , u k , w k = A x k + B u k + ω k
h x k , v k = U o c S O C k − I L k R 0 − U 1 k − U 2 k + υ k
The calculation of its Jacobian matrix is as follows:
F k = ∂ f ∂ x = A
L k = ∂ f ∂ ω = I
H k = ∂ h ∂ x = H k
M k = ∂ h ∂ υ = I
By substituting these constant Jacobian matrices into the general EKF formula, the formula for the standard Kalman filter is obtained:
x ^ k | k − 1 = A x ^ k − 1 | k − 1 + B u k − 1
P k | k − 1 = A P k − 1 | k − 1 A T + Q k − 1
K k = P k | k − 1 H k T H k P k | k − 1 H k T + R k − 1
x ^ k | k = x ^ k | k − 1 + K k z k − H k x ^ k | k − 1
P k | k = I − K k H k P k | k − 1
Among them, x ^ k | k − 1 and x ^ k | k represent the a priori and a posteriori state estimates respectively, while P k | k − 1 and P k | k denote the corresponding a priori and posteriori estimation error covariance matrices respectively, and K k is the Kalman gain. Its recursive process is as follows: Based on the a posteriori optimal estimate at the previous moment, the a priori state and its covariance at the current moment are predicted; subsequently, by calculating the Kalman gain, the current a priori state estimate is fused with the actual observed value to obtain the a posteriori optimal state estimate at the current moment, and its a posteriori covariance is updated. In this application, the cloud-reconstructed results are used as observed quantities, and by adjusting the observation noise covariance matrix R k , the correction intensity of cloud-side data on the end-side state can be effectively controlled. This parameter directly characterizes the degree of trust in the cloud-side measurement information, thereby determining the frequency and magnitude of state updates. After obtaining the final fused voltage, fault judgment is performed by comparing it with the pre-set fault threshold voltage V m ; this value can be updated in real time based on historical data to ensure the accuracy of diagnosis and a low false alarm rate:
V m = μ Δ V n o r m a l + k σ Δ V n o r m a l
Among these, V m represents a dynamic threshold, μ Δ V n o r m a l is the mean voltage extreme difference value of normal battery packs in historical data. σ Δ V n o r m a l is the standard deviation of the voltage extreme difference value for normal battery packs in historical data. Here, k represents the confidence coefficient, which is used to adjust the coefficient of the dynamic threshold V m . It indicates that within the range of historical normal battery pack voltage differences, a certain level of confidence expansion is allowed. In this paper, a ±10% fluctuation is set, and k is set to 0.1. Through the confidence coefficient, the threshold can be controlled, thereby balancing the false alarm rate and the missed detection rate.
To improve the robustness of the diagnostic system against transient fluctuations and enhance the sensitivity to persistent minor inconsistency faults, this study introduces a Cumulative Sum (CUSUM) algorithm for secondary confirmation based on the initial determination of the dynamic threshold. This algorithm accumulates fault signals that exceed the threshold to identify true persistent faults. Its decision statistic is calculated as follows:
S k = max 0 , S k − 1 + I I k − ϵ
Among these, I I k is the binary result of the dynamic threshold determination (taking 1 when a fault occurs, and 0 otherwise), and the compensation term ϵ is used to mitigate the influence of occasional over-threshold points on the CUSUM cumulative quantity. Here, it is set to an empirical value of 0.02. To prevent a single instantaneous abnormal point from directly triggering a fault alarm, this paper further sets a sliding window to conduct statistical judgment on the predicted labels. Specifically, the size of the sliding window is set to 50 sampling points, and the CUSUM threshold h is set to 50%. Within each sliding window, the number of sampling points with a predicted label of 1 is counted, and its proportion within the window is calculated. When the proportion of “1” labels in the window exceeds 50%, it indicates that the abnormal signal has strong persistence within this time period, so the corresponding area of the battery cell voltage inconsistency fault is determined; if the proportion of “1” labels in the window does not exceed 50%, it is considered that this abnormality may be caused by instantaneous load fluctuations, measurement noise, or short-term working condition changes, and no final fault alarm is triggered:
F a u l t   A l a r m = 1 ,   i f   S k ≥ h 0 ,   o t h e r w i s e
This design ensures that the system only triggers an alarm finally when the fault signals are continuously accumulated to a certain extent in the time dimension.

3. Dataset Introduction and Experimental Setup

3.1. Dataset Introduction

To validate the proposed end-to-cloud collaborative fault diagnosis solution, this study employs a verification framework based on real-vehicle operational data. The data acquisition process is illustrated in Figure 6. Vehicle operational data is collected in real-time via the onboard telematics terminal and uploaded to the big data cloud platform. After data cleaning and format standardization, a comprehensive Internet of Vehicles (IoV) big dataset is formed.
Figure 6. IoV big data collection workflow.
The validation dataset consists of 11 pure electric sedans, including 4 with professionally confirmed cell voltage inconsistency faults and 7 operating under normal conditions. The faulty vehicles are numbered 1–4, and the normal vehicles are numbered 5–11. The abnormal data segments from the faulty vehicles were professionally annotated. Data from the normal vehicles serve as negative samples for the diagnosis model. Each vehicle’s data collection period lasted approximately 2 weeks, covering about 30 complete charge–discharge cycles, with a dataset size of approximately 20,000 records. All data collection strictly adheres to the GB/T 32960 Technical Specification for Remote Service and Management Systems of Electric Vehicles [42], encompassing multidimensional features such as vehicle speed, charge/discharge status, total current, total voltage, SOC, temperature, and extreme value information.
Figure 7 displays partial characteristic curves, such as vehicle speed and SOC profiles, for one exemplary vehicle during the data collection period from 1 to 15 March 2024. During this period, the vehicle generated a total of 33 charge–discharge segments, comprising 16 charging segments and 17 discharging segments. As shown in Figure 8, the battery pack of this vehicle consists of 88 cells connected in series. Due to space constraints in the figure, only the line color information (i.e., the legend) for Cells 1, 22, 44, 66, and 88 is presented. Analysis of individual cell voltage profiles shows that cell voltages remain well aligned during charging, while noticeable divergence appears among cells during discharging. Based on this observation, this study focuses on the discharge phase for inconsistency analysis and validation of the diagnostic method.
Figure 7. Feature Preview: vehicle speed and SOC with date profile for vehicle 1.
Figure 8. Voltage Variation Chart of Battery Cells in Vehicle No. 1 with Acquisition Date.

3.2. Experimental Setup

To comprehensively validate the proposed end-cloud collaborative diagnosis scheme, systematic experimental validation will be conducted from three levels: the vehicle side, the cloud side, and the fusion level.
Vehicle-side validation focuses on evaluating the accuracy and generalization capability of the equivalent circuit model’s parameter identification. For each individual battery cell, the charge–discharge cycle with the highest depth of discharge within the dataset is selected for independent parameter identification. As shown in Figure 9, taking the discharge segment of Vehicle 3 as an example, the 5th discharge segment covers the widest SOC variation range (approximately 90% to 20%). This segment can sufficiently excite the dynamic characteristics of the battery and provide the richest excitation information for parameter identification, and hence it is selected as the baseline cycle for parameter identification. After completing the identification, the obtained model parameters are applied to all other discharge segments of the same vehicle. By comparing the error between the predicted voltage and the actual measured voltage, the generalization performance of the model is comprehensively evaluated. The vehicle-side experiments were conducted in the MATLAB 2024a/Simulink environment, running on a hardware platform equipped with a 12th Gen Intel® Core™ i7-12700 (Intel Corporation, Santa Clara, CA, USA) processor.
Figure 9. Schematic Diagram of Parameter Identification Segment Selection Based on Maximum Depth of Discharge.
Cloud-side validation primarily examines the accuracy of the voltage reconstruction network and the effectiveness of the proposed modules. The network is designed to recover the true voltage dynamics of individual battery cells from noisy data, filtering out measurement noise and abnormal fluctuations to reflect the essential voltage variation trends. To validate the structural necessity of the proposed global feature broadcast mechanism and physics-informed positional encoding, systematic ablation studies were designed. By comparing the performance of the complete model against simplified variants with key modules removed, the contribution of each module is quantified. For the training strategy, an n-fold cross-validation approach was employed to ensure the statistical reliability of model evaluation. The specific partitioning scheme for the data sets is illustrated in Figure 10. The data from 11 vehicles are treated as 11 subsets. In each iteration, one vehicle’s data is selected as the test set, while the data from the remaining vehicles are used as the training set. That is, at each fold, the dataset is divided by vehicle units, so there is no situation where adjacent segments of the same vehicle appear simultaneously in training and testing. The cloud-side experiments were implemented based on the PyTorch 2.2.2 framework, utilizing an NVIDIA GeForce RTX 4090 24 GB graphics card as the hardware platform.
Figure 10. Schematic of n-fold cross-validation partitioning for training set.
The fusion-level validation focuses on the overall efficacy of the end-cloud collaborative diagnosis. First, the extreme difference value of voltage from the vehicle-side predictions and the cloud-side reconstructions is computed separately. Then, the extreme difference in voltage results from both the cloud and vehicle sides are fused via the EKF; threshold judgment is conducted based on these fused results, and the CUSUM algorithm is further employed to make the final identification of cell inconsistency faults. The fault threshold is determined based on statistical characteristics of voltage extreme difference distributions, derived from historical operating data of normal vehicles. The system evaluation metrics include classic classification indicators such as accuracy, recall, and F1-score, providing a comprehensive assessment of the diagnostic system’s overall performance.

4. Results and Discussion

This section systematically presents the experimental results for cloud-side voltage reconstruction, vehicle-side parameter identification and voltage estimation, and the fused diagnosis outcome.
Cloud-side voltage reconstruction seeks to recover the true voltage dynamics of battery cells by filtering out measurement noise and abnormal fluctuations from the raw data. To evaluate reconstruction accuracy, the Root Mean Square Error (RMSE) and the Coefficient of Determination (R2) are used as primary performance metrics. The model’s effectiveness is assessed by quantifying the agreement between the reconstructed voltage and the actual voltage.
Vehicle-side voltage prediction aims to enable real-time tracking of battery dynamic behavior under constrained computational resources. The results first present a detailed analysis of the identified values for the five key parameters of the second-order RC equivalent circuit model—namely, the ohmic resistance R 0 , polarization resistances R 1 and R 2 , and polarization capacitances C 1 and C 2 . This is followed by an evaluation of the accuracy of the vehicle-side voltage estimates.
As the final decision layer of the fault diagnosis architecture, the fusion diagnosis comprehensively evaluates the overall performance of the proposed approach in detecting inconsistency faults, using key metrics such as accuracy, recall, and F1-score. A comparative analysis against single-model diagnostic results is also presented to demonstrate the advantage of the end-cloud collaborative framework in improving diagnostic reliability.

4.1. Cloud-Side Results

This subsection systematically presents the experimental results of cloud-side voltage reconstruction and validates the effectiveness of the proposed global feature broadcast and cross-attention mechanisms through ablation studies. The designed ablation study plan is shown in Table 1, while Figure 11 presents a comparison of the voltage reconstruction performance of each model on the second discharge segment of Cell 1. The experiment configured four model variants: the complete model incorporates all components proposed in this paper, namely the global feature broadcast and the cell position encoding; the baseline model retains only the standard Transformer encoder–decoder architecture; the feature broadcast model individually introduces the global feature broadcast mechanism on top of the baseline; and the position encoding model separately integrates the inter-cell position encoding module. Through systematic comparison of the reconstruction performance across different model configurations, the contribution of each module to the voltage reconstruction accuracy can be accurately assessed, thereby validating the effectiveness and necessity of the proposed methods.
Table 1. Ablation Study: Model Configurations and Structural Descriptions.
Figure 11. Magnetization as a function of applied field.
In Figure 11, the purple, red, orange, and blue lines respectively present the voltage reconstruction results of the complete model, the model with only feature broadcast, the model with only positional encoding, and the baseline model. The black line represents the true voltage values. The voltage zeroing points observed in the true values are caused by acquisition errors, which can severely interfere with cell inconsistency detection.
As can be seen from the purple curve in Figure 11, the complete model proposed in this paper accurately reconstructs the true state of the battery voltage. When measured voltages exhibit zeroing anomalies due to sensor faults, the complete model can accurately identify these outliers and perform effective recovery, reconstructing a voltage curve that aligns with the actual operational patterns of the battery. This demonstrates the model’s strong robustness and fault tolerance. The red curve in Figure 11 displays the reconstruction results of the model with only the feature broadcast mechanism. By incorporating system-level global features, this model acquires a certain capability to identify local voltage anomalies and avoids directly treating zeroed measurements as valid inputs. However, observations reveal that its reconstructed values exhibit a systematic bias, consistently lying below the true voltage levels. This indicates that relying solely on global features is insufficient for precisely quantifying cell-level voltage dynamics, and the lack of modeling inter-cell spatial relationships limits its reconstruction accuracy. The orange and blue curves in Figure 11 show the reconstruction results of the model with only positional encoding and the baseline model, respectively. Due to the absence of the feature broadcast mechanism, both models exhibit a significant decline in their ability to handle voltage anomalies. When zeroing anomalies occur, the locally reconstructed results show substantial distortion. This fully demonstrates that, without the guidance of system-level operational status, the model struggles to differentiate between measurement anomalies and genuine voltage dynamics, thereby compromising reconstruction accuracy.
Comprehensive analysis indicates that the global feature broadcast mechanism provides the model with prior knowledge of the system-level operational status, enabling it to effectively identify measurement anomalies. Meanwhile, the positional encoding establishes a spatial correlation model among the cells, ensuring precise voltage reconstruction at the individual cell level. This conclusion is fully substantiated by the quantitative metrics in Table 2: the complete model achieves an RMSE as low as 0.00547 and an R2 as high as 0.999, significantly outperforming other model configurations and demonstrating the synergistic advantage of the dual-mechanism integration.
Table 2. Performance and Complexity Comparison Under Different Model Configurations.

4.2. End-Side Results

This subsection presents the experimental results of vehicle-side parameter identification and voltage estimation. Figure 12 display the identification results of the five key parameters (R0, R1, R2, C1 and C2) in the second-order RC equivalent circuit. As shown in the figure, the parameter identification of R0 exhibits significant initial fluctuations, primarily attributable to the sensitivity of the FFRLS algorithm to the initial covariance matrix and its convergence characteristics with limited samples. However, it gradually converges after approximately 150 time steps and stabilizes around 0.7 mΩ. R1 and R2 exhibit similar convergence trends, eventually stabilizing at 20 mΩ and 0.1 mΩ, respectively. The identified values for the polarization capacitances C1 and C2 are 6000 F and 12,500 F, respectively. All parameter values fall within the theoretical range typical of lithium-ion battery models, conforming to the physical principles governing battery dynamics.
Figure 12. Identification results of five key parameters in the second-order RC equivalent circuit.
Figure 13 displays the vehicle-side voltage estimation performance for the same segment analyzed on the cloud side. The blue curve in the figure represents the true cell voltage, while the orange curve denotes the model prediction based on the second-order equivalent circuit. The model predictions closely follow the overall trend of the true voltage, and the output curve remains smooth, effectively mitigating fluctuations and spikes induced by measurement noise. Although minor local deviations arise due to limitations in the accuracy of the OCV–SOC lookup table, the overall estimation accuracy remains sufficient for engineering applications, confirming the effectiveness and practicality of the vehicle-side model in real-world operating conditions.
Figure 13. Vehicle-side voltage estimation performance comparison.

4.3. Parameter Sensitivity Analysis

To further analyze the influence of key parameters in the dynamic threshold and sustained fault confirmation mechanism on diagnostic performance, a sensitivity analysis was conducted. The analysis focuses on the confidence coefficient k, compensation term epsilon ϵ , and sliding window ratio threshold h, and evaluates their effects on the False Alarm Rate (FAR) and Missed Detection Rate (MDR). Here, FAR represents the proportion of normal samples that are incorrectly identified as faults, while MDR represents the proportion of actual fault samples that are not detected. A lower FAR indicates fewer false alarms, whereas a lower MDR indicates fewer missed faults.
As shown in Table 3, taking Vehicle 1 as an example, when the confidence coefficient k increases from 0.05 to 0.2, the dynamic threshold V m increases accordingly, and the FAR decreases from 0.4058% to 0.3467%. This indicates that increasing k makes the system more conservative in anomaly judgment, thereby reducing the probability of misclassifying normal samples as faults. Within this parameter range, the MDR remains almost unchanged, suggesting that the voltage extreme differences in the fault samples are still significantly higher than the dynamic threshold, and therefore a slight increase in the threshold does not lead to missed detection.
Table 3. Effect of the confidence coefficient k on FAR and MDR.
As shown in Table 4, when the compensation term ϵ increases from 0.005 to 0.1, the FAR decreases from 0.3946% to 0.3692%, indicating that the compensation term can suppress the influence of occasional abnormal points and reduce false alarms. However, when ϵ = 0.1, the MDR increases to 9.4340%, indicating that an excessively large compensation term may over-suppress abnormal signals, making some weak or short-duration faults unable to satisfy the final decision condition.
Table 4. Effect of the compensation term ϵ on FAR and MDR.
As shown in Table 5, when the sliding window ratio threshold h increases from 20% to 80%, the system requires a higher proportion of abnormal labels within the window to trigger a fault alarm. The FAR decreases from 0.4960% to 0.3382%, indicating that increasing h can effectively suppress false alarms caused by a small number of abnormal points. However, when h = 80%, the MDR increases to 30.1887%, indicating that an overly high window ratio threshold may prevent some true fault intervals from satisfying the sustained fault confirmation condition.
Table 5. Effect of the sliding window ratio threshold h on FAR and MDR.
In summary, increasing the confidence coefficient, compensation term, and sliding window ratio threshold makes the diagnosis strategy more conservative and helps reduce FAR. However, excessively large parameter values may weaken the system’s sensitivity to weak or short-duration faults, thereby increasing MDR. Therefore, this study selects k = 0.1, ϵ = 0.02, and h = 50% as compromise parameters to balance low false alarm and missed detection rates.

4.4. Diagnostic Results Based on EKF Fusion

To comprehensively evaluate the performance of the proposed fusion diagnosis strategy, this subsection conducts systematic experimental validation based on data from 11 real vehicles (including 4 with faults and 7 normal). As established in previous sections, both the cloud-side and vehicle-side models output an independent predicted voltage sequence, which is used for independent diagnosis.
Figure 14a–d respectively present the temporal comparison of the cloud-side reconstructed voltage extreme difference value, the vehicle-side predicted voltage extreme difference value, and the corresponding fault labels for Vehicles 1, 2, 7, and 9. Among them, Vehicles 1 and 2 are faulty vehicles, while Vehicles 7 and 9 are normal vehicles. A label of 0 indicates a normal state, while a label of 1 indicates the presence of a voltage inconsistency fault. In terms of the distribution of voltage extreme difference values, the cloud-side values for faulty vehicles are significantly higher, primarily distributed between 0.2 V and 0.3 V, while the vehicle-side values are also elevated accordingly, concentrated between 0.1 V and 0.2 V. In contrast, the voltage extreme difference values of normal vehicles are markedly lower, with both cloud-side and vehicle-side values concentrated below 0.1 V–0.15 V. The results indicate that the voltage extreme difference value threshold can serve as an effective criterion for distinguishing between normal and faulty states. Further observation of the variation patterns of voltage extreme difference values in faulty vehicles reveals that during fault occurrence periods, both the vehicle-side and cloud-side values exhibit synchronous surges, which can be utilized as a real-time diagnostic basis for inconsistency faults.
Figure 14. Temporal comparison of cloud-side and vehicle-side voltage extreme difference values with fault labels. (a) Cloud-side and vehicle-side voltage extreme difference results and fault labels of faulty Vehicle 1. (b) Cloud-side and vehicle-side voltage extreme difference results and fault labels of faulty Vehicle 2. (c) Cloud-side and vehicle-side voltage extreme difference results and fault labels of normal Vehicle 7. (d) Cloud-side and vehicle-side voltage extreme difference results and fault labels of normal Vehicle 9.
Table 6 details the performance metrics of two faulty vehicles under different diagnostic modes. The statistical results indicate that while cloud-side diagnosis demonstrates excellent performance in both accuracy and recall, it still exhibits a certain degree of false positives. In contrast, although the vehicle-side diagnosis shows a relatively lower recall, its stability provides effective support and reference for the cloud-side diagnosis. The fusion method achieved further improvement on this basis: For Vehicle 1, the fused recall rate increased from 90.57% (cloud-only) to 96.32%, and the F1-score rose from 0.9143 to 0.9537. For Vehicle 2, the fusion strategy improved the recall rate from 79.66% (cloud-only) to 89.28%, and increased the F1-score from 0.8174 to 0.8536. The experimental results demonstrate that the proposed fusion mechanism not only effectively combines the stability of the vehicle-side model with the high sensitivity of the cloud-side model but also, to a certain extent, suppresses the false positive tendency of the cloud-side model. This reflects the comprehensive advantage of end-cloud collaborative diagnosis in enhancing both the completeness and reliability of fault identification.
Table 6. Performance Comparison of Different Diagnostic Modes for Faulty Vehicles.

5. Conclusions

To address the challenge of cell inconsistency in electric vehicle power batteries, this paper proposes an end-cloud collaborative fault diagnosis framework, validated using real-world vehicle driving data. The cloud-based reconstruction model accurately recovers individual cell voltage behavior, effectively compensating for voltage signal loss due to data transmission issues, while the end-side prediction model delivers precise voltage estimates. Both the cloud and end components independently generate voltage extreme difference value sequences for each cell. These sequences are then fused through an EKF strategy, achieving a diagnostic accuracy exceeding 99.9%. The results confirm the framework’s effectiveness in detecting battery inconsistency faults and underscore its strong potential for real-world engineering deployment.

Author Contributions

Conceptualization, B.M. and Y.L.; methodology, Y.L.; software, B.Z.; validation, G.L., C.J. and B.Z.; formal analysis, D.M.; investigation, B.Z.; resources, Y.L.; data curation, C.J.; writing—original draft preparation, G.L.; writing—review and editing, B.M.; visualization, B.M.; supervision, B.Z.; project administration, C.J.; funding acquisition, B.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China (Grant No. 52402472) and the Natural Science Foundation of Jilin Province (Grant No. 20240101125JC).

Data Availability Statement

The data that support the findings of this study are available from the corresponding author upon reasonable request.

Conflicts of Interest

Author Dongyang Ma was employed by the company General R&D Institute of FAW. Authors Guoliang Liu and Changjian Ji were employed by the company FAW Bestune Automotive Co., Ltd. Author Bosong Zou was employed by the company China Software Testing Center. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
EKFExtended Kalman filter
CUSUMCumulative sum
PSOParticle swarm optimization
MDMMean difference model
RLSRecursive least squares
SOCState of charge
ECMEquivalent circuit model
SVMSupport vector machines
DBNDeep belief network
FWAFireworks algorithm
LSTMLong short-term memory
FFRLSForgetting factor recursive least squares
IoVInternet of vehicles
RMSERoot mean square error
R2Coefficient of determination

References

  1. Cui, X.; Garg, A.; Thao, N.T.; Trung, N.T. Machine learning approach for solving inconsistency problems of Li-ion batteries during the manufacturing stage. Int. J. Energy Res. 2020, 44, 9194–9204. [Google Scholar] [CrossRef] [Scilit]
  2. Han, Y.; Yuan, H.; Li, J.; Du, J.; Hu, Y.; Huang, X. Study on influencing factors of consistency in manufacturing process of vehicle Lithium-Ion Battery based on correlation coefficient and multivariate linear regression model. Adv. Theory Simul. 2021, 4, 2100070. [Google Scholar] [CrossRef] [Scilit]
  3. Talele, V.; Ahmadian-Elmi, M.; Jain, A.; Mishra, D.; Zawodzinski, T.A.; Zhao, P. Simulation and reduction of nonuniform capacity fading in a cylindrical battery module via reciprocating thermal design. J. Energy Storage 2024, 103, 114143. [Google Scholar] [CrossRef] [Scilit]
  4. Li, Y.; Mei, W.; Yu, Y.; Liu, C.; Zhang, Y.; Zhuo, P.; Chen, Y.; Sun, J.; Jin, K.; Wang, Q.Q. Duan Revealing the self-ignition mechanism of lithium iron phosphate battery modules: The coupling effect of battery inconsistency and BMS failure. eTransportation 2025, 26, 100484. [Google Scholar] [CrossRef] [Scilit]
  5. Chen, F.; Chen, T.; Wu, Z.; Kong, X.; Meng, X.; Han, X.; Lu, L.; Zheng, Y.; Ouyang, M. Optimizing lithium-ion battery electrode manufacturing: Advances and prospects in process simulation. J. Power Sources 2024, 610, 234717. [Google Scholar] [CrossRef] [Scilit]
  6. Chen, T.; Lai, X.; Chen, F.; Wang, Y.; Han, X.; Zheng, Y. Empowering lithium-ion battery manufacturing with big data: Current status, challenges, and future. J. Power Sources 2024, 623, 235400. [Google Scholar] [CrossRef] [Scilit]
  7. Duan, Z.; Hong, X.; Li, H.; Ruan, D. Simulating the uneven temperature distributions within large-sized lithium-ion batteries using a thermal resistance network model. J. Energy Storage 2024, 101, 113732. [Google Scholar] [CrossRef] [Scilit]
  8. Wang, S.; Xiao, X.; Ding, Q. A novel fractional system grey prediction model with dynamic delay effect for evaluating the state of health of lithium battery. Energy 2023, 290, 130057. [Google Scholar] [CrossRef] [Scilit]
  9. Cheng, C.-S.; Chung, H.S.-H.; Lau, R.W.-H.; Hong, K.Y.-W. Time-Domain modeling of constant phase elements for simulation of lithium battery behavior. IEEE Trans. Power Electron. 2018, 34, 7573–7587. [Google Scholar] [CrossRef] [Scilit]
  10. Kim, J.; Chun, H.; Kim, M.; Han, S.; Lee, J.-W.; Lee, T.-K. Effective and practical parameters of electrochemical Li-ion battery models for degradation diagnosis. J. Energy Storage 2021, 42, 103077. [Google Scholar] [CrossRef] [Scilit]
  11. Naseri, F.; Schaltz, E.; Stroe, D.-I.; Gismero, A.; Farjah, E. An enhanced equivalent circuit model with Real-Time parameter identification for battery State-of-Charge estimation. IEEE Trans. Ind. Electron. 2021, 69, 3743–3751. [Google Scholar] [CrossRef] [Scilit]
  12. Zhang, C.; Allafi, W.; Dinh, Q.; Ascencio, P.; Marco, J. Online estimation of battery equivalent circuit model parameters and state of charge using decoupled least squares technique. Energy 2017, 142, 678–688. [Google Scholar] [CrossRef] [Scilit]
  13. Zheng, Y.; Gao, W.; Ouyang, M.; Lu, L.; Zhou, L.; Han, X. State-of-charge inconsistency estimation of lithium-ion battery pack using mean-difference model and extended Kalman filter. J. Power Sources 2018, 383, 50–58. [Google Scholar] [CrossRef] [Scilit]
  14. Lin, X.-W.; Jiang, Y.; Yu, H.-T.; Shi, M.-Y.; Liu, B.; Wen, X.-L.; Zhou, Z.-F. A comprehensive investigation on the electrochemical and thermal inconsistencies for 280 Ah energy storage lithium-ion battery. Energy Convers. Manag. 2024, 315, 118750. [Google Scholar] [CrossRef] [Scilit]
  15. Zhang, X.; Lu, J.; Yuan, S.; Yang, J.; Zhou, X. A novel method for identification of lithium-ion battery equivalent circuit model parameters considering electrochemical properties. J. Power Sources 2017, 345, 21–29. [Google Scholar] [CrossRef] [Scilit]
  16. Qin, P.; Zhao, L. Enhancing Data-Driven-Based state of health estimation for diverse battery applications through effective feature construction. Energy 2024, 309, 133156. [Google Scholar] [CrossRef] [Scilit]
  17. How, D.N.T.; Hannan, M.A.; Lipu, M.S.H.; Ker, P.J. State of Charge Estimation for Lithium-Ion batteries using Model-Based and Data-Driven Methods: A review. IEEE Access 2019, 7, 136116–136136. [Google Scholar] [CrossRef] [Scilit]
  18. Naguib, M.; Kollmeyer, P.; Emadi, A. Lithium-Ion battery pack robust state of charge estimation, cell inconsistency, and balancing: Review. IEEE Access 2021, 9, 50570–50582. [Google Scholar] [CrossRef] [Scilit]
  19. Mohammadi, Y.; Polajžer, B.; Leborgne, R.C.; Khodadad, D. Most influential feature form for supervised learning in voltage sag source localization. Eng. Appl. Artif. Intell. 2024, 133, 108331. [Google Scholar] [CrossRef] [Scilit]
  20. Li, X.; Gao, X.; Zhang, Z.; Chen, Q.; Wang, Z. Fault diagnosis and detection for battery system in Real-World Electric Vehicles based on Long-Term Feature Outlier analysis. IEEE Trans. Transp. Electrif. 2023, 10, 1668–1679. [Google Scholar] [CrossRef] [Scilit]
  21. Liu, Q.; Ma, J.; Zhao, X.; Zhang, K.; Xiangli, K.; Meng, D. A novel method for fault diagnosis and type identification of cell voltage inconsistency in electric vehicles using weighted Euclidean distance evaluation and statistical analysis. Energy 2024, 293, 130575. [Google Scholar] [CrossRef] [Scilit]
  22. Lin, M.; Xie, H.; Shan, M. A hybrid multiscale permutation Entropy-Based fault diagnosis and inconsistency evaluation approach for lithium battery of E-Vehicles. IEEE Access 2022, 10, 104757–104768. [Google Scholar] [CrossRef] [Scilit]
  23. Jiang, J.; Zhang, R.; Wu, Y.; Chang, C.; Jiang, Y. A fault diagnosis method for electric vehicle power lithium battery based on wavelet packet decomposition. J. Energy Storage 2022, 56, 105909. [Google Scholar] [CrossRef] [Scilit]
  24. Lin, T.; Chen, Z.; Zhou, S. Voltage-correlation based multi-fault diagnosis of lithium-ion battery packs considering inconsistency. J. Clean. Prod. 2022, 336, 130358. [Google Scholar] [CrossRef] [Scilit]
  25. Qiu, Y.; Cao, W.; Peng, P.; Jiang, F. A novel entropy-based fault diagnosis and inconsistency evaluation approach for lithium-ion battery energy storage systems. J. Energy Storage 2021, 41, 102852. [Google Scholar] [CrossRef] [Scilit]
  26. Duan, B.; Li, Z.; Gu, P.; Zhou, Z.; Zhang, C. Evaluation of battery inconsistency based on information entropy. J. Energy Storage 2018, 16, 160–166. [Google Scholar] [CrossRef] [Scilit]
  27. Cao, R.; Zhang, Z.; Shi, R.; Lu, J.; Zheng, Y.; Sun, Y.; Liu, X.; Yang, S. Model-constrained deep learning for online fault diagnosis in Li-ion batteries over stochastic conditions. Nat. Commun. 2025, 16, 1651. [Google Scholar] [CrossRef] [Scilit]
  28. Zhao, J.; Feng, X.; Pang, Q.; Fowler, M.; Lian, Y.; Ouyang, M.; Burke, A.F. Battery safety: Progress in Energy and Combustion. Science 2024, 102, 101142. [Google Scholar]
  29. Hong, J.; Li, K.; Liang, F.; Yang, H.; Hou, Y.; Ma, F.; Wang, F.; Zhang, X.; Zhang, H.; Zhang, C. Research on battery inconsistency evaluation based on improved local outlier factor and fuzzy matrix. J. Energy Storage 2024, 104, 114572. [Google Scholar] [CrossRef] [Scilit]
  30. Li, Z.; Zhu, Y.; Cai, Z.; Li, Y.; Chen, Y.; Zhou, Z. A novel fusion method for inconsistency evaluation of electric vehicle lithium-ion batteries. J. Energy Storage 2025, 133, 118020. [Google Scholar] [CrossRef] [Scilit]
  31. Nie, W.; Deng, Z.; Li, J.; Zhang, K.; Zhou, J.; Xiang, F. An early fault detection method of series battery packs based on multi-feature clustering and unsupervised scoring. Energy 2025, 323, 135754. [Google Scholar] [CrossRef] [Scilit]
  32. Lujun, W.; Bin, P.; Jiuchun, J. Fault detection of single cell battery inconsistency in electric vehicle based on Fireworks algorithm optimized deep belief network. J. Electrochem. Energy Convers. Storage 2022, 20, 011011. [Google Scholar] [CrossRef] [Scilit]
  33. Cui, Z.; Cui, N.; Rao, J.; Li, C.; Zhang, C. Current distribution estimation of Parallel-Connected batteries for inconsistency diagnosis using Long Short-Term memory networks. IEEE Trans. Transp. Electrif. 2021, 8, 1013–1025. [Google Scholar] [CrossRef] [Scilit]
  34. Jeng, S.-L.; Chieng, W.-H. Evaluation of cell inconsistency in Lithium-Ion battery pack using the Autoencoder Network model. IEEE Trans. Ind. Inform. 2022, 19, 6337–6348. [Google Scholar] [CrossRef] [Scilit]
  35. Chen, Z.; Liu, W.; Zhou, D.; Xia, T.; Pan, E. Inconsistency identification for Lithium-ion battery energy storage systems using deep embedded clustering. Appl. Energy 2025, 388, 125677. [Google Scholar] [CrossRef] [Scilit]
  36. Zhang, H.; Li, Y.; Zheng, S.; Lu, Z.; Gui, X.; Xu, W.; Bian, J. Battery lifetime prediction across diverse ageing conditions with inter-cell deep learning. Nat. Mach. Intell. 2025, 7, 270–277. [Google Scholar] [CrossRef] [Scilit]
  37. Zhang, H.; Gui, X.; Zheng, S.; Lu, Z.; Li, Y.; Bian, J. BatteryML: An Open-source platform for Machine Learning on Battery Degradation. arXiv 2023, arXiv:2310.14714. [Google Scholar]
  38. Ma, B.; Zhang, L.; Yu, H.; Zou, B.; Wang, W.; Zhang, C.; Yang, S.; Liu, X. End-cloud collaboration method enables accurate state of health remaining useful life online estimation in lithium-ion batteries. J. Energy Chem. 2023, 82, 1–17. [Google Scholar] [CrossRef] [Scilit]
  39. Zou, B.; Fu, W.; Yan, C.; Zeng, Q.; Wang, Z.; Wang, R.; Ding, W.; Chen, X.; Gao, Q. SoC Fusion Estimation Based on Neural Network Long and Short Time Series. Batteries 2025, 11, 336. [Google Scholar] [CrossRef] [Scilit]
  40. Tian, E.; Chen, H.; Wang, C.; Wang, L. Security-Ensured state of charge estimation of Lithium-Ion batteries subject to malicious attacks. IEEE Trans. Smart Grid 2022, 14, 2250–2261. [Google Scholar] [CrossRef] [Scilit]
  41. Lai, X.; Zheng, Y.; Sun, T. A comparative study of different equivalent circuit models for estimating state-of-charge of lithium-ion batteries. Electrochim. Acta 2017, 259, 566–577. [Google Scholar] [CrossRef] [Scilit]
  42. GB/T 32960-2025; Technical Specifications for Remote Service and Management System for Electric Vehicles. National Standard of the People’s Republic of China: Beijing, China, 2025.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.