Fig 1 - uploaded by Matthew Paul Klein
Content may be subject to copyright.
Battery equivalent circuit model: a). scheme of the battery ECM based model, b). state space representation of the model. 

Battery equivalent circuit model: a). scheme of the battery ECM based model, b). state space representation of the model. 

Source publication
Article
Full-text available
A battery management system (BMS) ensures performance, safety and longevity of a battery energy storage system in an embedded environment. One important task for a BMS is to estimate the state of charge (SoC) and state of health (SoH) of a battery. The correlation between battery open circuit voltage (OCV) and SoC is an important reference for stat...

Contexts in source publication

Context 1
... adopted battery ECM is illustrated in Fig. 1(a). An OCV-SoC relationship often established via coulomb counting and OCV measurement. An important point to note is the improvement of this relationship by declaring two independent battery SoC in- dicators: 1) Coulomb counting based SoC C ; 2) OCV observation based SoC V . Some definitions are declared by the ...
Context 2
... first, SoH C is initialized to be 1 for all SoC V regions, which means SoC C and SoC V are initially identical. Through time, SoC C and SoC V will be computed independently as show in Fig. ...
Context 3
... consists of three internal resis- tance parameters. As shown in Fig. 1, the model presents battery terminal voltage U BATT as the sum of four voltage components ...
Context 4
... discretized state space model is presented in Fig. 1(b). Battery OCV-SoC curve will change due to battery aging [39]. By including the variation of OCV-SoC curve, battery estimator accuracy can be improved. Typical method of updating a battery OCV-SoC curve requires resting a battery cell at different levels of charge [26]. This is time consuming, and difficult to implement in on-line ...
Context 5
... EKF observer employed in this paper, different from other designs [9,13,40], was designed to take a 'detour' estimating a 'secondary' variable SoC V , and back calculates the more intuitive battery state SoC C using Equation (4). Writing the state space model of Fig. 1(b) in the following ...
Context 6
... of the OCV curve optimization method via PVA, the algorithm updated the OCV-SoC correlation implicitly, leading to the improvement of overall SoC estimation accuracy by more than 1% in the case of the training data. At a high SoC region, where the estimation error is more significant, the PVA algorithm reduced estimation error by more than 3%. Fig. 10 shows the results of the capacity and OCV-SoC correlation optimization for Cell 1. The typical LiFePO 4 battery OCV-SoC cor- relation was initialized with a curve obtained by an off-line test method, as plotted in Fig. 10(a). After simulation, the estimator utilized the training data to update the SoH C function as shown in Fig. 10(b). ...
Context 7
... a high SoC region, where the estimation error is more significant, the PVA algorithm reduced estimation error by more than 3%. Fig. 10 shows the results of the capacity and OCV-SoC correlation optimization for Cell 1. The typical LiFePO 4 battery OCV-SoC cor- relation was initialized with a curve obtained by an off-line test method, as plotted in Fig. 10(a). After simulation, the estimator utilized the training data to update the SoH C function as shown in Fig. 10(b). Because the OCV(SoC V ) function was defined to remain unchanged, the more intuitive OCV(SoC C ) function was updated implicitly, with its variation compared to initial values plotted in Fig. 10(c). This approach corrects ...
Context 8
... more than 3%. Fig. 10 shows the results of the capacity and OCV-SoC correlation optimization for Cell 1. The typical LiFePO 4 battery OCV-SoC cor- relation was initialized with a curve obtained by an off-line test method, as plotted in Fig. 10(a). After simulation, the estimator utilized the training data to update the SoH C function as shown in Fig. 10(b). Because the OCV(SoC V ) function was defined to remain unchanged, the more intuitive OCV(SoC C ) function was updated implicitly, with its variation compared to initial values plotted in Fig. 10(c). This approach corrects the OCV curve with a very small adjustment, which happens to be beneficial because the OCV curve variation is very ...
Context 9
... off-line test method, as plotted in Fig. 10(a). After simulation, the estimator utilized the training data to update the SoH C function as shown in Fig. 10(b). Because the OCV(SoC V ) function was defined to remain unchanged, the more intuitive OCV(SoC C ) function was updated implicitly, with its variation compared to initial values plotted in Fig. 10(c). This approach corrects the OCV curve with a very small adjustment, which happens to be beneficial because the OCV curve variation is very subtle over the course of battery degradation. Typically updating of the battery available capacity requires data of the entire battery operation range. In the proposed method, how- ever, the ...
Context 10
... the function SoH C (SoC V ) is a localized representation of bat- tery capacity degradation. It can be updated using piecewise data without cycling through the entire battery operation range. The same simulation was performed on the LiNiCoMnO Cell 2. The battery was continuously cycled with a charge depleting US06 driving profile for 450 cycles. Fig. 11 shows the results of internal resistance optimization. After 1 cycle, the battery had resistance values close to 0.01U. After 450 cycles, the internal resistances of the battery were significantly degraded. The values of R O and R S increased by 100%, and the value of R L increased more than 200%. The estimator effectively tracked the ...
Context 11
... had resistance values close to 0.01U. After 450 cycles, the internal resistances of the battery were significantly degraded. The values of R O and R S increased by 100%, and the value of R L increased more than 200%. The estimator effectively tracked the internal resistance and restrained the average voltage simulation error within 0.05 V. Fig. 12 shows the results of SoH C (SoC V ) optimization. After 450 cy- cles, the battery capacity was degraded about 15%. Fig. 12(a) shows battery OCV(SoC V ) to be degraded from its original condition. By adjusting the SoH C (SoC V ) function, the error of SoC estimation was constrained within 5%. Furthermore, the OCV curve updating further ...
Context 12
... The values of R O and R S increased by 100%, and the value of R L increased more than 200%. The estimator effectively tracked the internal resistance and restrained the average voltage simulation error within 0.05 V. Fig. 12 shows the results of SoH C (SoC V ) optimization. After 450 cy- cles, the battery capacity was degraded about 15%. Fig. 12(a) shows battery OCV(SoC V ) to be degraded from its original condition. By adjusting the SoH C (SoC V ) function, the error of SoC estimation was constrained within 5%. Furthermore, the OCV curve updating further improved the accuracy of SoC estimation by another 0.5% (in the case of LiNiCoMnO battery the OCV function variation was ...
Context 13
... OCV(SoC V ) to be degraded from its original condition. By adjusting the SoH C (SoC V ) function, the error of SoC estimation was constrained within 5%. Furthermore, the OCV curve updating further improved the accuracy of SoC estimation by another 0.5% (in the case of LiNiCoMnO battery the OCV function variation was tested to be very small). Fig. 13 shows the results of the capacity and OCV-SoC correlation optimization for Cell 2. The typical LiNiCoMnO battery OCV-SoC correlation was initialized as Fig. 13(a). Comparing to Fig. 10, after the accelerated aging experiment the overall SoH value of a battery degraded, as shown in Fig. 13(b). Also, the vari- ation of the OCV curve was ...
Context 14
... the OCV curve updating further improved the accuracy of SoC estimation by another 0.5% (in the case of LiNiCoMnO battery the OCV function variation was tested to be very small). Fig. 13 shows the results of the capacity and OCV-SoC correlation optimization for Cell 2. The typical LiNiCoMnO battery OCV-SoC correlation was initialized as Fig. 13(a). Comparing to Fig. 10, after the accelerated aging experiment the overall SoH value of a battery degraded, as shown in Fig. 13(b). Also, the vari- ation of the OCV curve was very mild. The resultant OCV curve is optimized to be almost unchanged in shape, as shown in Fig. ...
Context 15
... updating further improved the accuracy of SoC estimation by another 0.5% (in the case of LiNiCoMnO battery the OCV function variation was tested to be very small). Fig. 13 shows the results of the capacity and OCV-SoC correlation optimization for Cell 2. The typical LiNiCoMnO battery OCV-SoC correlation was initialized as Fig. 13(a). Comparing to Fig. 10, after the accelerated aging experiment the overall SoH value of a battery degraded, as shown in Fig. 13(b). Also, the vari- ation of the OCV curve was very mild. The resultant OCV curve is optimized to be almost unchanged in shape, as shown in Fig. ...
Context 16
... the OCV function variation was tested to be very small). Fig. 13 shows the results of the capacity and OCV-SoC correlation optimization for Cell 2. The typical LiNiCoMnO battery OCV-SoC correlation was initialized as Fig. 13(a). Comparing to Fig. 10, after the accelerated aging experiment the overall SoH value of a battery degraded, as shown in Fig. 13(b). Also, the vari- ation of the OCV curve was very mild. The resultant OCV curve is optimized to be almost unchanged in shape, as shown in Fig. ...
Context 17
... The typical LiNiCoMnO battery OCV-SoC correlation was initialized as Fig. 13(a). Comparing to Fig. 10, after the accelerated aging experiment the overall SoH value of a battery degraded, as shown in Fig. 13(b). Also, the vari- ation of the OCV curve was very mild. The resultant OCV curve is optimized to be almost unchanged in shape, as shown in Fig. ...

Similar publications

Article
Full-text available
The accuracy of identifying the parameters of models describing lithium ion batteries (LIBs) in typical battery management system (BMS) applications is critical to the estimation of key states such as the state of charge (SoC) and state of health (SoH). In applications such as electric vehicles (EVs) where LIBs are subjected to highly demanding cyc...
Article
Full-text available
Advanced battery management systems (BMS) in electric vehicles (EVs) require immediate and accurate battery state, such as State-of-Charge (SoC) and State-of-Health (SoH) for efficient monitoring and control. To improve the state estimation performance of battery, an electrochemical model is applied in this paper. First, the electrochemical model i...
Article
Full-text available
Energy storage emerged as a top concern for the modern cities, and the choice of the lithium-ion chemistry battery technology as an effective solution for storage applications proved to be a highly efficient option. State of charge (SoC) represents the available battery capacity and is one of the most important states that need to be monitored to o...
Article
Full-text available
The accuracy of identifying the parameters of models describing lithium ion batteries (LIBs) in typical battery management system (BMS) applications is critical to the estimation of key states such as the state of charge (SoC) and state of health (SoH). In applications such as electric vehicles (EVs) where LIBs are subjected to highly demanding cyc...

Citations

... Currently, the value of the SOC is mostly defined in terms of the remaining battery charge, i.e., the value of the SOC is the percentage of the remaining battery charge to its rated charge under a specific discharge multiplication condition [6], and its expression can be described as: ...
Article
Full-text available
The state of charge (SOC) is an important indicator for evaluating a battery management system (BMS), which is crucial for the reliability, performance, and life management of a battery. In this paper, the characteristics of a Li-ion battery are deeply studied to explore the charge/discharge curve under different environments. Meanwhile, a second-order RC equivalent circuit model is constructed. The function identification of the EMF and SOC is performed based on the least squares method. The model estimation error is verified by simulation to be less than 0.05 V. Based on the Suboptimal Multiple Fading Factor Extended Kalman Filter (SMFEKF) algorithm, the SOC under constant current and UDDS conditions are estimated. Matlab/simulink simulations illustrate that the estimated accuracy of the proposed algorithm is improved by 79.36% compared with the EKF algorithm. Finally, the validity of the algorithm is verified jointly with the BMS. The results show that the estimation error is within 4% in both constant current condition as well as UDDS conditions, and it can still be predicted quickly and accurately under the uncertainty in the initial value of the SOC.
... On the other hand, in [42], the authors linked the OCV-SOC curves at the different aging levels to the one of the fresh cell by adding an opportune value. In [43], for another LFP battery, the authors used the SOH information for correcting the OCV-SOC relationship considering aging. ...
Article
Full-text available
Currently, the urgent needs of sustainable mobility and green energy generation are driving governments and researchers to explore innovative energy storage systems. Concurrently, lithium-ion batteries are one of the most extensively employed technologies. The challenges of battery modeling and parameter estimation are crucial for building reliable battery management systems that ensure optimal battery performance. State of charge (SOC) estimation is particularly critical for predicting the available capacity in the battery. Many methods for SOC estimation rely on the knowledge of the open-circuit voltage (OCV) curve. Another significant consideration is understanding how these curves evolve with battery degradation. In the literature, the effect of cycle aging on the OCV is primarily addressed through the look-up tables and correction factors applied to the OCV curve for fresh cells. However, the variation law of the OCV curve as a function of the battery cycling is not well-characterized. Building upon a simple analytical function with five parameters proposed in the prior research to model the OCV as a function of the absolute state of discharge, this study investigates the dependency of these parameters on the moved charge, serving as an indicator of the cycling level. Specifically, the analysis focuses on the impact of cycle aging in the low-, medium-, and high-SOC regions. Three different cycle aging tests were conducted in these SOC intervals, followed by the extensive experimental verification of the proposed model. The results were promising, with mean relative errors lower than 0.2% for the low- and high-SOC cycling regions and 0.34% for the medium-SOC cycling region. Finally, capacity estimation was enabled by the model, achieving relative error values lower than 1% for all the tests.
... where k is the index of the battery cell, Q M k is the maximum capacity when the cell is fully charged, and SOC k is the state of charge of the cell. Among various SOC estimation methods [29], [30], [31], [32], [33], [34], [35], [36], [37], this article adopts the SOC-OCV method obtained in the ambient temperature of 25 • C. Under the different temperature condition, other SOC estimation methods with higher accuracy can be applied and then the effect of temperature on OCV can be considered. ...
Article
For the maintenance of electric vehicle batteries, a special apparatus achieving the state-of-charge (SOC) alignment of the whole cells inside a battery pack is highly promising. Specifically, when battery packs are discharged to a safe SOC level before shipping, according to battery logistic policy, and charged back to a nominal SOC level before being replaced in the swapping station, the SOC levels of all cells should be aligned to a specific target level. Conventionally, numerous cell-balancing hardware architectures and control strategies are studied; however, they only equalize the SOC between cells, and a whole pack SOC alignment feature has not been evaluated. In this article, a novel algorithm with a coordinated operation between a pack-charger and cell-equalizer is proposed as a viable SOC alignment algorithm. The full-duplex coordinated strategy, which utilizes a bidirectional pack-charger and cell-equalizer, is proposed for alignment purposes, which can minimize the operating time and the energy loss. The theoretical strategy is investigated to achieve the minimal operation time, and the performance of the proposed method is verified by a hardware prototype for a battery pack with 20- series cells. After the alignment process, the cell SOC levels are equalized within a voltage deviation of 30 mV or SOC deviation of 3%, when the pack SOC level is simultaneously adjusted to a preset level. In comparison with the half-duplex strategy, the proposed strategy has a twice faster processing time, while the energy loss during the process is 38%, 10.4%, and 26.1% lower than before. Otherwise, the proposed strategy achieves higher speed of 52% and 28.9% compared with the conventional strategies in balancing speed comparison.
... Estimating SoC and SoH is crucial for the battery management system in VRFB systems. [84] SoC provides information about the remaining power of the battery during charge and discharge cycles, enabling users to know when to charge and prevent overcharging. SoH represents the degree of battery capacity decay and provides users with an estimate of the remaining battery life as a percentage. ...
Article
Full-text available
As a promising large‐scale energy storage technology, all‐vanadium redox flow battery has garnered considerable attention. However, the issue of capacity decay significantly hinders its further development, and thus the problem remains to be systematically sorted out and further explored. This review provides comprehensive insights into the multiple factors contributing to capacity decay, encompassing vanadium cross‐over, self‐discharge reactions, water molecules migration, gas evolution reactions, and vanadium precipitation. Subsequently, it analyzes the impact of various battery parameters on capacity. Based on this foundation, the article expounds upon the significance of battery internal state estimation technology. Additionally, the review also summarizes domestic and international mathematical models utilized for simulating capacity decay, serving as a valuable reference for future research endeavors. Finally, through the comparison of traditional experimental methods and mathematical modeling methods, this article offers effective guidance for the future development direction of battery state monitoring. This review generally overview the problems related to the capacity attenuation of all‐vanadium flow batteries, which is of great significance for understanding the mechanism behind capacity decay and state monitoring technology of all‐vanadium redox flow battery.
... Two techniques are commonly used for measuring the OCV curve. The first is "stepwise OCV", which consists of charging up to a certain SOC and then measuring the voltage after a suitable relaxation time [30,33]. The second is "low-current OCV", which consists of charging the battery with a very low current (i.e., <0.1 C) and considering the battery voltage in a state of quasi-equilibrium. ...
... Two techniques are commonly used for measuring the OCV curve. The first is wise OCV", which consists of charging up to a certain SOC and then measuring th age after a suitable relaxation time [30,33]. The second is "low-current OCV", whic sists of charging the battery with a very low current (i.e., <0.1 C) and considering t tery voltage in a state of quasi-equilibrium. ...
Article
Full-text available
Upon reaching certain limits, electric vehicle batteries are replaced and may find a second life in various applications. However, the state of such batteries in terms of aging and safety remains uncertain when they enter the second-life market. The aging mechanisms within these batteries involve a combination of processes, impacting their safety and performance. Presently, direct health indicators (HIs) like state of health (SOH) and internal resistance increase are utilized to assess battery aging, but they do not always provide accurate indications of the battery's health state. This study focuses on analyzing various HIs obtained through a basic charging-discharging cycle and assessing their sensitivity to aging. Commercial 50 Ah pouch cells with different aging histories were tested, and the HIs were evaluated. Thirteen HIs out of 31 proved to be highly aging-sensitive, and thus good indicators. Namely, SOH upon charging and discharging, Coulombic efficiency, constant current discharge time, voltage relaxation profile trend, voltage-charge area upon discharging, hysteresis open circuit voltage HIs, and temperature difference between the tabs upon charging. The findings offer valuable insights for developing robust qualification algorithms and reliable battery health monitoring systems for second-life batteries, ensuring safe and efficient battery operation in diverse second-life applications.
... The former is ensured by the battery management system (BMS), which predicts battery parameters such as the authors corrected the SOC estimation with the value of the actual battery capacity and stated that the OCV curves were the same with this correction, despite different aging conditions. A similar procedure was employed in [30], where the SOC was defined as a function of the SOH and then used inside the OCV-SOC relation. The changes in the OCV-SOC curve and the consequent variations in the incremental capacity of a LiB were analyzed in [25], in which an extended Kalman filter was used for the parameter estimation. ...
... In [29], the authors corrected the SOC estimation with the value of the actual battery capacity and stated that the OCV curves were the same with this correction, despite different aging conditions. A similar procedure was employed in [30], where the SOC was defined as a function of the SOH and then used inside the OCV-SOC relation. The changes in the OCV-SOC curve and the consequent variations in the incremental capacity of a LiB were analyzed in [25], in which an extended Kalman filter was used for the parameter estimation. ...
Article
Full-text available
In recent years, lithium-ion batteries (LiBs) have gained a lot of importance due to the increasing use of renewable energy sources and electric vehicles. To ensure that batteries work properly and limit their degradation, the battery management system needs accurate battery models capable of precisely predicting their parameters. Among them, the state of charge (SOC) estimation is one of the most important, as it enables the prediction of the battery’s available energy and prevents it from operating beyond its safety limits. A common method for SOC estimation involves utilizing the relationship between the state of charge and the open circuit voltage (OCV). On the other hand, the latter changes with battery aging. In a previous work, the authors studied a simple function to model the OCV curve, which was expressed as a function of the absolute state of discharge, q, instead of SOC. They also analyzed how the parameters of such a curve changed with the cycle aging. In the present work, a similar analysis was carried out considering the calendar aging effect. Three different LiB cells were stored at three different SOC levels (low, medium, and high levels) for around 1000 days, and an analysis of the change in the OCV-q curve model parameters with the calendar aging was performed.
... Generally, the SOC estimation comprises the following techniques: coulomb counting technique (Jeong et al., 2014), open circuit voltage (OCV) technique (Tong et al., 2015), impedance spectroscopy technique (Qahouq and Xia, 2017), diverse intelligent technique (Hu et al., 2018) and Kalman filter (KF) technique (Wang et al., 2020). For the coulomb counting technique, the SOC of battery is estimated by integral approach, the coulomb-counting technique is the most commonly used approach for SOC estimation by integral approach due to its simplicity and ease of implementation . ...
Article
Full-text available
Due to excellent power and energy density, low self-discharge and long life, lithium-ion battery plays an important role in many fields. Directed against the complexity of above noises and the strong sensitivity of the common Kalman filter algorithm to noises, the state of charge estimation of lithium-ion battery based on extended Kalman filter algorithm is investigated in this paper. Based on the second-order resistor-capacitance equivalent circuit model, the battery model parameters are identified using the MATLAB/Simulink software. A battery parameter test platform is built to test the charge-discharge efficiency, open-circuit voltage and state of charge relationship curve, internal resistance and capacitance of the individual battery are tested. The simulation and experimental results of terminal voltage for lithium-ion battery is compared to verify the effectiveness of this method. In addition, the general applicability of state of charge estimation algorithm for the battery pack is explored. The ampere-hour integral method combined with the battery modeling is used to estimate the state of charge of lithium-ion battery. The comparison of extended Kalman filter algorithm between experimental results and simulation estimated results is obtained to verify the accuracy. The extended Kalman filter algorithm proposed in this study not only establishes the theoretical basis for the condition monitoring but also provides the safe guarantee for the engineering application of lithium-ion battery.
... Typical methods for the evaluation of battery status include the direct measurement method, physical model method, and data analysis method. In direct measurement methods, an open-circuit voltage is applied to calculate the battery capacity [16], and the battery impedance can be measured by electrochemical impedance spectroscopy [17]. Alternatively, in the physical model methods, the battery degradation behaviors are described by an equivalent model developed from the electrochemical mechanism or equivalent circuit [18][19][20]. ...
... Energies 2023, 16, 3096 ...
Article
Full-text available
This paper aims to establish a predictive model for battery lifetime using data analysis. The procedure of model establishment is illustrated in detail, including the data pre-processing, modeling, and prediction. The characteristics of lithium-ion batteries are introduced. In this study, data analysis is performed with MATLAB, and the open-source battery data are provided by NASA. The addressed models include the decision tree, nonlinear autoregression, recurrent neural network, and long short-term memory network. In the part of model training, the root-mean-square error, integral of the squared error, and integral of the absolute error are considered for the cost functions. Based on the defined health indicator, the remaining useful life of lithium-ion batteries can be predicted. The confidence interval can be used to describe the level of confidence for each prediction. According to the test results, the long short-term memory network provides the best performance among all addressed models.
... The model parameters are updated during aging by minimizing the difference between an estimated and measured model output, which is usually the terminal voltage. The obtained model parameters either directly include the SOH or indirectly allow its calculation [1][2][3][4][5][6][7][8][9]. 2. Feature correlation-based: the correlation between a measurable feature and the SOH is established via lab experiments. ...
... No parametrization of an aging model or correlation of a feature with SOH is necessary. The algorithm is independent of SOC estimation and the updated OCV curve, which is obtained as an additional output, can be used for other BMS tasks that depend on an accurate OCV curve such as model-based SOC estimation [1,2,6,25,41]. ...
Article
The open circuit voltage (OCV) curve of a lithium-ion cell can be described as the difference between the half-cell open circuit potential curves of both electrodes. Fitting a reconstructed OCV curve to the OCV curve of an aged cell allows identification of degradation modes. In this study, we show that this method can also be applied to partial charging curves of a commercial cell with silicon–graphite and NMC-811 as electrode materials. Both the degradation modes and the remaining cell capacity can be determined from the reconstructed OCV curve. For the investigated cell, accurate OCV reconstruction and degradation mode estimation can be obtained from C/30 partial charging curves if the state of charge (SOC) window between 20% and 70% is available. We show that the method is also applicable to charging curves at higher current rates if the additional overpotential is considered by subtracting a constant voltage offset. Capacity estimation with an accuracy of 2% of the nominal capacity is possible for current rates up to approximately C/4 if partial charging curves between 10% and 80% SOC are used, while a maximum current rate of C/15 should be used for accurate estimation of the degradation modes.
... Model-based methods for determining the SOC can be considered. When these techniques are applied, a battery should first be modeled using the equivalent circuit model (ECM) [34], the state-space model [35], and the numerical model [36]. Therefore, model-based or observerbased digital filtering techniques such as the Kalman filter (KF) and advanced extended Kalman filter (EKF) [37], which are based on robust recursive tools and consider the nonlinearity and uncertainty of the battery model, are relevant to real-time applications. ...
Article
Full-text available
State of charge (SOC) is a crucial index for a battery’s energy assessment. Its estimation is becoming an increasing challenge in order to assure the battery's safety and efficiency. To this end, many methods can be found in the scientific literature with various accuracy and complexity. However, accurate SOC is highly dependent on the adopted methodology. This paper investigates five methods for estimating battery SOC for lithium-ion (Li-ion) manufacturers. For this purpose, five methods were selected and then used in practice, including the modified Coulomb counting method, the extended Kalman filter, the neural network (NN), and two other techniques based on machine learning known as the support vector machines and the K-nearest neighbor algorithm (KNN), respectively. A detailed analysis based on statistical assessment is performed on an experimental test that covers multiple cycles of charge and discharge modes. The KNN method proved to be more accurate than the EKF approach, which is extensively used for estimating the SOC of Li-ion batteries. The algorithm demonstrated great predictive accuracy, with most predictions having a relative error near zero and a maximum error value of roughly 0.26%. All of the findings validate the methodology's reliability and efficiency.