Next Article in Journal
Analysis of Propellant Weight under Re-Entry Conditions for a Reusable Launch Vehicle Using Retropropulsion
Next Article in Special Issue
Identification of DC Thermal Steady-State Differential Inductance of Ferrite Power Inductors
Previous Article in Journal
Reply to Sinha, P.; Wade, A. Comment on “Nover et al. Leaching via Weak Spots in Photovoltaic Modules. Energies 2021, 14, 692”
Previous Article in Special Issue
Design of a Medium Voltage Generator with DC-Cascade for High Power Wind Energy Conversion Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Comprehensive Model for Real Battery Simulation Responsive to Variable Load

by
Gustavo Piske Fenner
*,
Leonardo Weber Stringini
,
Camilo Alberto Sepulveda Rangel
* and
Luciane Neves Canha
Electromechanical and Power Systems Department, Federal University of Santa Maria–UFSM, Santa Maria 97105-900, Brazil
*
Authors to whom correspondence should be addressed.
Energies 2021, 14(11), 3209; https://doi.org/10.3390/en14113209
Submission received: 1 April 2021 / Revised: 8 May 2021 / Accepted: 12 May 2021 / Published: 31 May 2021

Abstract

:
This paper proposes a battery voltage model that is suitable for variable operation. The model combines the features of the Kinetic Battery Model (KiBaM) and voltage model (VM), and it improves the accuracy and quality of the solution, addressing four characteristics of operation: charging, discharging, rest after charge, and rest after discharge. This model will be known as 4-KiVM and shows low impact on computational burden. The proposed model can keep track of the voltage even when the load is inverted or turned off. To calibrate and validate the model, a NASA-provided dataset was used composed of a battery with variable charges and discharges, simulating real applications. A metaheuristic method based on tabu search is used to extract constants from this dataset and validate this hybrid model. In addition, a comparison of performance of the 4-KiVM against KiBaM, VM, and the electric circuit model (ECM) was made, showing its advantages. The results of the simulations showed a good prediction of the battery voltage response and SOC prediction in random (variable) use.

1. Introduction

Through the years, battery applications have gained attention toward power system application and mobility solutions. For instance, it is known that batteries implementation in Electric Vehicles (EVs) around the world had significant growth over the last few years [1]. It is estimated that there will be over 250 million EVs by 2030 [2]. In addition, batteries have been requested for the support of renewable sources of energy [3] such as solar photovoltaic and wind, with the possibility for improvement of energy quality considering loss reduction, voltage regulation, load following, and peak shaving [4,5]. For type of technology, lithium-ion batteries are the most used, as they are lightweight, with high energy density, small size, and with high duration [1,6,7,8].
As battery applications grow, so does the requirement for more detailed models to accurately represent the behavior regarding voltage, current, degradation, state of health (SOH), and state of charge (SOC), SOC prediction being one of the most widespread applications of battery models. Nevertheless, battery evaluation based only on the SOC provided by the energy injection is quite imprecise [9]; the review made in [10] shows some of the approaches seeking a more accurate representation of batteries behavior. These approaches are related to empirical models [11,12], abstract models [8,13,14], physics-based models [15,16], and hybrid models [17]. Hybrids models seek to use two or more approaches to improve results [17], each one with tradeoffs.
Physical models describe the structure of the battery materials and the chemical reactions that happen inside their cells. These are models with high accuracy but require a high number of parameters to run properly. In addition, they have a high complexity and may require extensive computational time for simulation. Examples can be found in [15,16].
Empirical models are based on empirical parameters. They are also called black boxes, and they try to mathematically define a transfer function from the outputs and inputs of the system. Their accuracy varies but is usually lower than other methods. Examples can be found in [11,12].
Abstract models are very simple and practical. These models offer an alternative way to visualize the problem while maintaining the dynamics of the battery. Their accuracy and complexity are variable. Through the studied models, the KiBaM based on [10] has been normally used due to its speed and application in commercial software for simulation as Homer [11]. In 1993, researchers explained the phenomena that went far beyond estimating SOC with just two constants and simple equations. The original KiBaM has limitations (such as lack of voltage response), but it has been proven and studied in multiple articles [12,13,14,15].
Electric Circuit models (ECMs) are also part of abstract models. They are the most studied and complete model used in the literature. Their accuracy varies according to the mathematical order in the formulation of the circuit model. Many papers use ECM models for their simplicity, even in lower orders given the good accuracy presented [7,8,16,17,18,19,20]. As temperature and aging are included, the accuracy is increased [1,8,9,17]. However, as commented by [21], ECMs take extended time to compute when compared to KiBaM, but they have greater precision.
The search for a comprehensive model that allows fast simulation and accurate representation of batteries’ electrical behavior is a challenging task. It is seen that the KiBaM model had good characteristics in speed and simplicity but requires some improvements in accuracy to be comparable to the ECM model. In addition, it is seen that the calibration process for batteries tends to evaluate fixed behaviors. This brings the necessity to present a model that is able to respond for alternating current, being suitable to real-world performance.
To achieve these objectives, this paper proposes a more detailed model for battery simulation, adding to KiBaM a voltage model (VM) that can be used in several applications. The model considers an iterative process for selection of the battery parameters and reduction of errors, and it combines four characteristics of operation: charging, discharging, rest after charge, and rest after discharge. For further reference, the proposed model will be called the 4-Ki-VM model. It should be noted that although some works focus on SOC prediction for the determination of batteries’ performance (even ECM), this work considers the modeling of voltage behavior more important. Voltage behavior has an important impact on the SOC prediction capabilities of the system. Nevertheless, as SOC can be calculated by voltage variables, the model could be further extended applying state estimators.
The proposed work has the following features:
  • Fast and accurate representation of battery behavior for simulation purposes considering electrical impact, and variability in the cycling process.
  • An improvement of the KiBaM model currently applied in commercial software as Homer, by considering voltage impact in battery degradation and cycling process.
  • An algorithm for error reduction of the parametrization of battery variables related to cycling behavior, based on an iterative process.
  • A novel combination of KiBaM and VM is proposed and called 4-Ki-VM. It uses four KiBaM cores and allows describing battery behavior more accurately than KiBaM with low computational cost compared to ECM models.
The model is validated and calibrated with a series of open-source data provided by NASA, being easy for reproduction and able for comparison against other studies using the same data.
This paper is presented as follows: Section 2 discusses the key factors related to battery behavior required for simulation purposes, Section 3 presents the Kinetic Battery Model, Section 4 adds to the proposed contribution by explaining ECM models, Section 5 presents the optimization process for the selection of parameters, Section 6 presents the proposed model, Section 7 validates the results, and Section 8 discusses the model features.

2. Battery Behavior

Batteries’ lifetimes are limited due to degradation and working conditions. For instance, a battery works only within a defined voltage range. In the case of lithium-ion batteries, the interval from 3 to 4.2 V is very common. Using the battery outside this voltage limit strongly affects the lifetime.
When the cell is not in use, the Open Circuit Voltage (OCV) reflects the amount of stored energy. For example, when the measured OCV is 4.2 V, the battery is full, and if it is 3 V, the battery is empty. Therefore, it is possible to measure the charging state by reading the voltage, but for that, the battery must not be in use, so this method is not practical. In addition, the battery must be resting for some time, because the voltage fluctuates after use.
During intense use, the voltage fluctuates beyond the joule effect, indicating a wrong charging state. During a discharge, for example, the voltage reflects an SOC smaller than the real one, it being common for a battery with 3 V to have 10–20% of charge left on it. To keep using the battery and access this remaining energy, the load must be disconnected to provide a slow voltage rising. Batteries’ behavior are related to two main phenomena:
Apparent Capacity: The battery capacity varies according to the intensity of use. If the load is increased, the capacity is decreased both in charge and in discharge.
Recovery effect: After use, the unavailable capacity slowly returns to the battery.
When the battery is being charged and reaches its maximum voltage, due to the apparent capacity, it will be not fully charged and cannot keep charging. This can happen at 60–80% capacity at fast charging.
To keep the battery charging after 4.2 V, the constant current–constant voltage (CC-CV) method is used (Figure 1). The battery is charged with CC until it reaches maximum voltage. At this point, the current slows down exponentially to keep maximum voltage.
During CC charge, the voltage and power rise 40% until peaking at 4.2 V, when the power starts to decrease exponentially. This power limitation also happens during discharge because the current is limited by the manufacturer of the battery.
Those limitations in power and capacity change with battery degradation. As the battery is cycling, not only the capacity changes but also the internal resistance and the response to transient (recovery effect) is different. When aged, the battery takes more time to do a complete charge and holds less energy compared to a new one. Furthermore, the required features of the battery model are to determine the following:
  • Time of charging and power.
  • Availability of energy during discharge.
  • Battery charge process during CV.
  • Maximum allowed power output.
  • Impact of degradation in power injection.
These criteria can be found in some datasheets and papers [18]. An issue found for validation is the common use of simple reference curves with constant charging and discharging tests. These curves do not reflect reality, as in daily use, the battery does not experience complete and uninterrupted cycles with constant current. It is common in real operation to stop in the middle of the charge and start discharging. However, to use the model in these real switching loads, a validation for these cases is required. If there is no validation, there is no guarantee that the model response is correct. In this paper, the 4-Ki-VM model will be developed based on the previous literature, proposing new ideas, and it will be validated through real use.

3. Kinetic Battery Model (KiBaM)

The KiBaM was developed by Manwell and McGowan in 1993 to emulate lead-acid batteries [10]. It is a simple and effective model that works well to simulate lithium-ion and other chemistries [22,23,24]. Only two constants rule the model, and it can emulate state of charge (SOC) fluctuations. The KiBaM model is presented in Figure 2.
According to Figure 2, the KiBaM transforms the battery into two reservoirs of size c and (1-c), and the energy is represented as water. One of the water tanks represents the charge available to use ( q 1 ), and the other one represents the unavailable charge q 2 . Constant k is a restriction to the fluid flow.
Considering that q 1 is emptied fast, water will remain in the system, but there will be no energy to use, representing apparent capacity phenomena. If the discharge stops, the water will start rising, modeling the recovery of charge.
In this model, the SOC, total, available, and unavailable capacity can be expressed as follows:
C Avaliable = C Total C Unvaliable C Total   t = q 1 t + q 2 t C Unavaliable = 1   c q 2 t   q 1 t SOC   % = C Avaliable / C Total
where q 1 is the charge in the available water tank, q 2 is the charge in the unavailable water tank, and c is the distribution of capacity of the battery. This two-reservoirs system can be described by a set of Bernoulli’s Equation (2), which are the core of the model:
{ q 1 ( t ) = q 1 , 0 e k t + ( q 0 k c I ) ( 1 e k t ) k Ic ( k t 1 + e k t ) k q 2 ( t ) = q 2 , 0 e k t + q 0 ( 1 c ) ( 1 e k t ) I ( 1 c ) ( k t 1 + e k t ) k
where q 1 , 0 and q 2 , 0 are the amount of charge at t = 0 , and q 0 = q 1 , 0 + q 2 , 0 .
The representation of Figure 2 also explains CC-CV charging, but the model output is in SOC (%) metrics, so it needs to be paired with some voltage model to consider voltage impact, as proposed in this paper.

3.1. Voltage Model (VM)

For most systems, the battery terminal voltage is the predilect and most useful information for battery control, as it rules battery charge and discharge limits. It is common to use the KiBaM with an n t h -order equation to interpolate the voltage response; however, this approach is hard to manipulate and change the curve characteristics. The method used is composed by a set of equations that are fast to compute and offer four constants to control the curve characteristics.
Using a generic lithium-ion battery as an example, the voltage behavior during discharge can be simplified by a curve as shown in Figure 3, where initially the voltage suffers an exponential drop, followed by a nominal zone [25].
The modeling of voltage impact presented in Figure 3 is defined in Equation (3). It should be noted that this model only operates inside the nominal voltage range, and disregard temperature impact.
V batt = E 0   K Q Q     it × t + Aexp (   B   it ) R × i
where
V batt = battery terminal voltage ( V )
E 0 = battery constant voltage ( V )
K   = polarization voltage ( V )
A   = exponential zone amplitude ( V )
B   = exponential zone time constant inverse ( Ah ) 1
R   = internal resistance (Ω)
i   = battery current
Q   = battery capacity ( Ah )
it   = ( 1   SOC ) × µ , the energy taken from battery (Ah)
µ = SOC equalizer.
This model is a variation of [25,26] and follows the same principle. By changing E 0 ,   A , B , and K , the voltage curve can be easily manipulated. The accuracy of the output curve depends on the resistance model considered. Thus, a variable resistance is normally used.
The SOC calculated on Equation (1) relies on the KiBaM’s capacity and c constants, which describe the apparent capacity and recovery effect. With different constants for charge and discharge, not all values of c allow smooth voltage transition from charge to discharge constants. Therefore, it is necessary to have a parameter to balance model transition; otherwise, voltage spikes will appear. In this scenario, µ was proposed to make the model swap more uniformly and create an SOC free from the KiBaM’s constant c. Without the need for constant c from KiBaM, the model becomes more precise.

3.2. SOC Forecast

To estimate the energy stored in the battery, its necessary to sum the water volumes in the KiBaM tanks, according to Equation (4).
T o t a l   s t o r e d   e n e r g y   ( t ) = q 1 ( t ) + q 2 ( t ) C e x t r a
q 1 ( t ) and q 2 ( t ) are obtained with Equation (2). Meanwhile, C e x t r a expresses the extra capacity in the KiBaM tanks, since the model is more stable when the battery is simulated with this parameter.
Equation (1) calculates the apparent SOC and defines when there is no more available energy for use. Nevertheless, the model is not directly calibrated for this equation, as it does not consider the effects of internal battery resistance. To estimate the remaining usable time, the voltage must be projected until it intercepts a limit, as shown in Figure 4. Therefore, it is possible to identify the remaining usable energy according to the predicted load profile. This SOC estimation method requires that the battery and the model selected are in synchrony. This process is difficult to implement and sensible to noise.
SOC estimation is a common battery concern. The research in [27] presents a novel approach for calculating the remaining discharge energy of lithium-ion batteries. A load prediction algorithm is prepared using a Markov model and data clustering. It used a second-order ECM model associated with a thermal model to avoid high complexity problems.
In [28], a KiBaM–ECM hybrid model is presented for a lead-acid home storage systems. For this approach, the KiBaM is used for SoC determination, and not for counting ampere-hours (Ah) as usual. Then, an ECM model simulates the current–voltage behavior of the system.
To avoid noise in SOC estimation of lithium-ion batteries, references [29,30] develops novel methods for noise immunity. Regarding accuracy and complexity, they used first-order RC models in both battery models.
Reference [18] proposes a novel method for online SOC estimation for lithium-ion batteries. The model features high accuracy and low complexity. To achieve high accuracy, a particle swarm optimization (PSO) is used to optimize model parameters. A Kalman Filter extended model is used for SOC estimation due to being one of the most used models for LIBs. In addition, the cited method is compared with 1RC, 2RC, 3RC, and PNGV, which are the most common EMCs models.
The use of EKF (Extended Kalman Filters) is the most adequate method to solve this SOC prediction problem. It provides an optimal state estimator using the minimum square error with the information obtained from the model and considers the assumptions of noise [31,32]. The use of state estimators to monitor SOC is almost mandatory, but it is not the objective of this paper, as accuracy in description relies on voltage determination. Thus, this SOC determination could be further extended for future work considering EKF or similar tools.

4. Electric Battery Model (ECM)

ECMs are known for their simplicity and performance, in addition to being very flexible in their implementation. Different circuits can be used to describe batteries [8,29,31,33,34]. Based on the work done by [28,35], a second-order RC circuit was implemented, using Coulomb counting to estimate SOC. The advantage of using this circuit is the balance between performance and precision. Adding more order to the RC circuits increases the accuracy but also the computational cost. Thus, second-order implementation presents a balance between computational burden and precision, and the 4-Ki-VM would try to compare the performance against this approach. Figure 5 presents the ECM model.
Applying Kirchhoff equations to this circuit, Equation (5) can be obtained from [28]:
V C s t + 1 = V C s t × e T C s × R s + R S × I B a t t t × ( 1 e T C s × R s ) V C L t + 1 = V C L t × e T C L × R L + R L × I B a t t t × ( 1 e T C L × R L ) V B a t t = V O C S O C V C L t V C s t R s e r i e s × I B a t t
where T represents the timestep and t represents the simulation time. V C L and V C s are the transient response with long- and short-time duration (voltage across C L and C s ). I B a t t is defined as positive for charging and negative for discharging.
For this application, the capacitors and resistors are variable and change their value according to the battery SOC. This approach increases the model’s accuracy with little computational cost [21].
SOC predictions are very important and require good battery models; ECMs have a diverse range of add-ons that assist in the task of estimating SOC. On this front, many techniques have already been developed as explained in Section 3.2. Synchronizing the model with the battery and evaluating the SOC in real time are not simple tasks, especially when uncertainties are considered in the measurements. The objective of this paper is to compare the performance of the voltage prediction in different models. This directly impacts the SOC estimation error; therefore, there is no need to use more complex ECM models.

5. Proposed Model

One of the most complete and simple models used in the literature is the ECM. The ECM incorporates and simulates the most important characteristics of batteries, making it possible to increase the accuracy by compromising performance. However, as commented by [21], even the simple 2° order ECM has a longer runtime than KiBaM but with greater precision. To increase the accuracy of the KiBaM approach, achieving a performance comparable to ECM, the 4-Ki-VM was developed.
As [4] explains in depth, a lot of papers in the battery model literature seek to create complete models to simulate battery response for charge and discharge [18,28,36,37,38,39,40,41,42]. However, batteries have very different characteristics if they are being charged or discharged, so it is difficult to find a solution that works both ways. The solution proposed is to use four different models to gain precision, one representation for each kind of use; they are charge, discharge, rest after charge, and rest after discharge.
For each type of use, a different KiBaM core rules the behavior of the battery, and the 4-Ki-VM has an optimized core for each use scenario. The only constant maintained through the cores is the capacity and the KiBaM’s q 1 and q 2 . This four-way model can be seen in Figure 6.
The hybrid 4-Ki-VM is robust and fast to compute. It uses KiBaM simple multiplications to express battery behavior [15]. A great advantage of splitting this hybrid model in four representations is that just one core works per iteration. Thus, there is almost no increase in the computational effort for this solution, even though it is apparently more complex. The only additional task for the CPU is to select the core to run the simulation based on the current value. This method does not require an interpolation.

6. Parameter Estimation

There are a lot of efficient numerical approaches for finding parameters of big and complex systems. Most of them are based on metaheuristics and mimic nature behavior by improving in each iteration based on a fitness function [43,44]. In this paper, a metaheuristic process is used, which was inspired by a tabu search [45]. First, for the 4-Ki-VM, all cores were considered equal and the parameters are taken from [13,15]. The ECM initial parameters are taken from [35]. This initial approximation presented a high error but it helped to speed the iterative process, since the models are similar and the parameters have the same order of magnitude. To improve these initial models, a python code changed every constant by a random value with probabilistic Gaussian distribution and calculated the error with Equation (6). If the model improved after randomization, the random parameters would compose the new base for iteration.
R M S E = 1 n 0 n ( R e f e r e n c e   V o l t a g e M o d e l   p r e d i c t i o n ) 2
As [46] explains, RMSE is usually better at revealing model performance differences. The metaheuristic loop can be seen in Figure 7.
The parameters are randomized following a normal distribution, which improves efficiency by reducing the risk of large variations. This loop has as a stopping criterion a number of 8000 iterations without improvement; then, the base constants are randomized. This parameter searching using randomization is very well known [30] and gave good results for being simple and flexible to implement. Future work can enhance the process to make it faster. It should be noted that this metaheuristic method does not affect model performance.

Model Extraction

To use as a reference and evaluate the simulation error, a set of data available at the NASA Data Repository was applied [47]. These open-source data are high quality and avoid the need for practical testes, helping in cases of low resources [24]. An 18650 Li-ion battery (Identified as RW9) was continuously operated using a sequence of charging and discharging currents between −4.5 and 4.5 A. As described in [48], each variable use (random use) lasts up to 5 min. After 1500 periods (about 5 days), a series of reference charging and discharging cycles were performed to provide reference benchmarks. The battery was used for over 5 months, and the data logged each second contain the voltage, current, temperature, and time. More experiments with this dataset are found in [47].
To calibrate the model, a virtual battery was created, and the 4-Ki-VM, the ECM, and the KiBaM-VM were submitted to the loads in the NASA dataset. The predicted voltage and the real voltage were compared each second, and the error was calculated as shown in Equation (6). There are 11 h of reference data extracted from the NASA dataset, divided in five tests, completing the benchmark:
Charge test: The battery was charged from 3.2 V with CC of 1 A and CV of 4.2 V.
Discharge test: The battery was discharged from 4.2 V with CC of 1 A until 3.2 V.
Pulse Charge test: The battery was charged from 3.2 V with CC of 1 A for 10 min and rest for 20 min multiple times, until 4.2 V.
Pulse Discharge test: The battery was discharged from 4.2 V with CC of 1 A for 10 min and rest for 20 min multiple times, until 3.2 V.
Alternating test: The battery was used with CC from −4.5 A to 4.5 A for 5 min or until a voltage limit.
With the reference curves provided in [47], a few virtual batteries were created, the metaheuristic process was initiated, and the KiBaM, ECM, and 4-Ki-VM were iterated for 3 h. This time was overstated to guarantee the best possible results for each model, but 2 h should be enough if a good first approximation is provided. The parameters found can be seen in Table 1 and Equation (7).
The constants are very different from the charge to discharge cores; for example, the VM parameter B grows more than four times from one 4-Ki-VM core to another. This big change happened with a lot of parameters and made the software take a long time to search and to estimate the constants for this new 4-Ki-VM. Future batteries can be modeled using Table 1 and be faster to iterate. Thus, this method not only allows the simulation but also the parametrization of new batteries. The battery capacity was improved along the parameters to increase accuracy. The ECM was simulated with a capacity of 550As and the model is ruled by the following equations:
{ R 0 ( SOC ) = 0.157 × e 13.893 × S O C + 0.101 R S ( SOC ) = 0.518 × e 13.349 × SOC + 0.393 R L ( SOC ) = 4.701 × e 123.055 × SOC + 0.065 C S ( SOC ) = 578.902 × e 3.363 × SOC + 1538.1 C L ( SOC ) = 5894.827 × e 36.19 × SOC + 6801.7 V OCV ( SOC ) = 0.32 × SOC 3 0.1178 × SOC 2 + 0.2156 × SOC + 3.685 1.031 × e 35 × SOC
Capacity is different from the KiBaM and the ECM simulation due to different combination in this model’s parameter. This capacity increase in the KiBaM should be accounted when calculating the remaining energy; as commented in Section 5, the C e x t r a = 1700   A s .
Resistance was approximated and taken from the pulse tests. Once the current is zero in multiple moments, the voltage drop gives the resistance value for various SOC. This resistance approximation was improved in the Figure 7 process, which raised or lowered all values together to avoid a ripple. This approach is based on a reduction of the simulation error in the Figure 4 loop rather than representing real resistance estimation. The CV charging was done by numerically searching a current value that did not surpass the voltage limit in the next iteration.

7. Results

The comparison of performance for the ECM, the KiBaM (with voltage adjust as [15]), and the proposed 4-KiVM models are presented in Figure 8. From Figure 8, the line in black shows the model response to the load, and the blue line shows the reference voltage. The initial SOC for each model and test was acquired prior to simulation.
The single core KiBaM results showed high distortion in the voltage simulation. This lack of precision is more pronounced in the Discharge tests (Figure 8g–i), since the model only has one set of constants to choose from, and thus, it cannot perform equally in all tests. It is remarkable that the KiBaM-based models have an advantage in predicting current behavior while CV is charging, as seen in Figure 8a–c, due the selection of constant k’ for this test.
For these simulation results, there is a major source of error. During parameter estimation, was found that if the models from Figure 8 were calibrated without the (m)–(o) tests, the (a)–(l) result curves were fitted with improved accuracy as seen in Table 2. When the (m)–(o) loads were tested in these conditions, the results present high error, as seen in Figure 8p–r. This behavior proves the proposed argument that a simple calibration curve can create biases when determining simulation accuracy, making the model underperform in real applications. An extended error comparison for the models is presented in Table 2.
As seen in Table 2, the quality of the prediction when the models were calibrated without variable use (alternating) was much better in isolated applications. Nevertheless, the ability to predict voltage in alternating use was not great. The error was calculated according to Equation (6). In addition, from Table 2, the precision of the proposed 4-Ki-VM model was greater than the ECM and KiBaM competitors. Regarding simulation time, the 4-Ki-VM took less simulation time compared to the second-order ECM. This comparison is presented in Table 3.
It should be noted that a first-order ECM and second-order ECM with constant RC were also implemented, but they were unable to maintain the accuracy in the pulse and random tests and thus, they were discarded.

8. Discussion

This paper proposed a detailed model for simulating the operation of batteries, considering the impact of different loads in the voltage response and how this affects power injection. The model performed similarly in all scenarios, giving great results even when the load was randomly changed.
Model performance under random discharge/charge is very important. Batteries in real use do not experience complete and uninterrupted cycles with constant current since they are used as needed. A model that explains battery behavior in this scenario is necessary, and this only happens if the model is calibrated correctly; Figure 8p–r showed the performance of the model calibrated without alternating use.
The performance of 4-Ki-VM compared to ECM was superior. The original KiBaM is a simpler and faster model to compute, but it lacks precision. ECM can increase the accuracy by increasing the number and RC circuits, and similarly, the 4-Ki-VM can be implemented with four cores and increase the accuracy without significant performance impact.
The disadvantage of modeling the 4-Ki-VM is the number of constants required. The original KiBaM with two parameters created a model with more than 30. Obtaining these parameters with an evolutionary process is an intensive computational task, but it is fast to implement. The solution proposed does not need the iteration process to simulate a battery. Virtual use is done using the KiBaM cores with a smart constant selection. The 4-Ki-VM demands similar processing power as the original two constants KiBaM, making the simulation possible on weak CPUs.
SOC monitoring is an important work made by the BMS, which helps operate the battery efficiently. Nevertheless, the quality of the SOC prediction is proportional to the voltage following the capabilities of the model. The objective of this paper was to evaluate voltage response, SOC prediction being a task for future work. This adaptation can be made applying state estimators such as EKT in the SOC prediction. Moreover, KiBaM can project the voltage as shown in Figure 4 and estimate the remaining usable energy, making a SOC prediction algorithm.
The original KiBaM already proved to work with different chemistries (NiMn and lead-acid [22]). The 4-Ki-VM can also work in different chemistries. In [22], the KiBaM is extended for temperature dependency; this is useful in more extreme temperature variation environments. For the 4-Ki-VM to work with temperature dependency, the voltage model and the model selection will require further adjustment.
Even ignoring temperature, in vigorous random use, the model can predict the battery voltage with good accuracy, as seen in Figure 8. If the load is uniform, the precision in voltage prediction is higher.
These outcomes for the proposed model make it suitable for implementation in battery simulations with some extended features when compared against ECM. EV simulation is a great application for the model, since the core switching of the 4-Ki-VM is robust and suitable for fast load switching. For validation in this specific application, it will require testing with high frequency load switching. Future works can verify this implementation.

Author Contributions

Conceptualization, L.N.C. and G.P.F.; methodology, G.P.F.; software, G.P.F.; validation, G.P.F., L.W.S. and C.A.S.R.; formal analysis, C.A.S.R.; investigation, L.W.S.; resources, L.N.C.; data curation, G.P.F.; writing—original draft preparation, G.P.F. and L.W.S.; writing—review and editing, C.A.S.R.; visualization, G.P.F.; supervision, C.A.S.R.; project administration, L.N.C.; funding acquisition, L.N.C. All authors have read and agreed to the published version of the manuscript.

Funding

This study was financed by National Council for Scientific and Technological Development—CNPQ (Conselho Nacional de Desenvolvimento Científico e Tecnológico—CNPQ)—Call PQ 2018 Process 310761/2018-2.

Acknowledgments

The authors would like to thank the financial support of National Council for Scientific and Technological Development—CNPQ (Conselho Nacional de Desenvolvimento Científico e Tecnológico—CNPQ)—Call PQ 2018 Process 310761/2018-2. The authors would also like to thank the Federal University of Santa Maria (UFSM), Programa Institucional de Bolsas de Pesquisa científica e Tecnológica FAPERGS and CNPq (PROBIC-FAPERGS and PIBIC- CNPQ) and Coordenação de Aperfeiçoamento de Pessoal de Nível Superior—CAPES PROEX for their support.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Sarrafan, K.; Muttaqi, K.M.; Sutanto, D. Real-Time Estimation of Model Parameters and State-of-Charge of Li-Ion Batteries in Electric Vehicles Using a New Mixed Estimation Model. IEEE Trans. Ind. Appl. 2020, 56, 5417–5428. [Google Scholar] [CrossRef]
  2. Global EV Outlook 2019—Analysis-IEA. Available online: https://www.iea.org/reports/global-ev-outlook-2019 (accessed on 29 March 2021).
  3. Song, Z.; Wang, H.; Hou, J.; Hofmann, H.F.; Sun, J. Combined State and Parameter Estimation of Lithium-Ion Battery With Active Current Injection. IEEE Trans. Power Electron. 2020, 35, 4439–4447. [Google Scholar] [CrossRef]
  4. Lawder, M.; Suthar, B.; Northrop, P.; De, S.; Hoff, C.; Leitermann, O.; Crow, M.L.; Santhanagopalan, S.; Subramanian, V. Battery Energy Storage System (BESS) and Battery Management System (BMS) for Grid-Scale Applications. Proc. IEEE 2014, 102, 1014–1030. [Google Scholar] [CrossRef]
  5. Diouf, B.; Pode, R. Potential of lithium-ion batteries in renewable energy. Renew. Energy 2015, 76, 375–380. [Google Scholar] [CrossRef]
  6. Wang, J.; Zhang, Z. Lithium-ion Battery SOC Estimation Based on Weighted Adaptive Recursive Extended Kalman Filter Joint Algorithm. In Proceedings of the 2020 IEEE 8th International Conference on Computer Science and Network Technology (ICCSNT), Dalian, China, 20–22 November 2020; pp. 11–15. [Google Scholar]
  7. Zhang, Z.; Xue, B.; Fan, J. Noise Adaptive Moving Horizon Estimation for State-of-Charge Estimation of Li-Ion Battery. IEEE Access 2021, 9, 5250–5259. [Google Scholar] [CrossRef]
  8. Hu, X.; Li, S.; Peng, H. A comparative study of equivalent circuit models for Li-ion batteries. J. Power Sources 2012, 198, 359–367. [Google Scholar] [CrossRef]
  9. Wang, Y.; Tian, J.; Sun, Z.; Wang, L.; Xu, R.; Li, M.; Chen, Z. A comprehensive review of battery modeling and state estimation approaches for advanced battery management systems. Renew. Sustain. Energy Rev. 2020, 131, 110015. [Google Scholar] [CrossRef]
  10. Manwell, J.F.; McGowan, J.G. Lead acid battery storage model for hybrid energy systems. Sol. Energy 1993, 50, 399–405. [Google Scholar] [CrossRef]
  11. HOMER—Hybrid Renewable and Distributed Generation System Design Software. Available online: https://www.homerenergy.com/ (accessed on 31 March 2021).
  12. Kim, T.; Qiao, W.; Qu, L. An Enhanced Hybrid Battery Model. IEEE Trans. Energy Convers. 2019, 34, 1848–1858. [Google Scholar] [CrossRef]
  13. Zhang, Q.; Li, Y.; Shang, Y.; Duan, B.; Cui, N.; Zhang, C. A Fractional-Order Kinetic Battery Model of Lithium-Ion Batteries Considering a Nonlinear Capacity. Electronics 2019, 8, 394. [Google Scholar] [CrossRef] [Green Version]
  14. Jongerden, M.; Haverkort, B. Battery Aging, Battery Charging and the Kinetic Battery Model: A First Exploration. In Proceedings of the International Conference on Quantitative Evaluation of Systems, Berlin, Germany, 5–7 September 2017; Springer: Cham, Switzerland, 2017; pp. 88–103. [Google Scholar]
  15. Fenner, G.P.; Ramos, L.F.; Canha, L.N. Battery Analysis using Kinetic Battery Model with Voltage Response. In Proceedings of the 2020 55th International Universities Power Engineering Conference (UPEC), Turin, Italy, 1–4 September 2020; pp. 1–5. [Google Scholar]
  16. Li, B.; Chen, T.; Wang, X.; Giannakis, G.B. Real-Time Energy Management in Microgrids With Reduced Battery Capacity Requirements. IEEE Trans. Smart Grid 2019, 10, 1928–1938. [Google Scholar] [CrossRef]
  17. Hossain, M.; Saha, S.; Arif, M.T.; Oo, A.M.T.; Mendis, N.; Haque, M.E. A Parameter Extraction Method for the Li-Ion Batteries With Wide-Range Temperature Compensation. IEEE Trans. Ind. Appl. 2020, 56, 5625–5636. [Google Scholar] [CrossRef]
  18. Bian, X.; Wei, Z.; He, J.; Yan, F.; Liu, L. A two-step parameter optimization method for low-order model-based state of charge estimation. IEEE Trans. Transp. Electrif. 2020, 7, 399–409. [Google Scholar] [CrossRef]
  19. Seaman, A.; Dao, T.-S.; McPhee, J. A survey of mathematics-based equivalent-circuit and electrochemical battery models for hybrid and electric vehicle simulation. J. Power Sources 2014, 256, 410–423. [Google Scholar] [CrossRef] [Green Version]
  20. Kwak, M.; Lkhagvasuren, B.; Park, J.; You, J.-H. Parameter Identification and SOC Estimation of a Battery Under the Hysteresis Effect. IEEE Trans. Ind. Electron. 2020, 67, 9758–9767. [Google Scholar] [CrossRef]
  21. Daniil, N.; Drury, D.; Mellor, P.H. Performance Comparison of Diffusion, Circuit-Based and Kinetic Battery Models. In Proceedings of the 2015 IEEE Energy Conversion Congress and Exposition (ECCE), Montreal, QC, Canada, 20–24 September 2015. [Google Scholar]
  22. Rodrigues, L.; Montez, C.; Moraes, R.; Portugal, P.; Vasques, F. A Temperature-Dependent Battery Model for Wireless Sensor Networks. Sensors 2017, 17, 422. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  23. Zhao, Y.; Li, Y.; Zhou, F.; Zhou, Z.; Chen, Y. An iterative learning approach to identify fractional order KiBaM model. IEEE/CAA J. Autom. Sin. 2017, 4, 322–331. [Google Scholar] [CrossRef]
  24. Rodrigues, L.M.; Bitencourt, N.L.; Rech, L.; Montez, C.; Moraes, R. An analytical model to estimate the state of charge and lifetime for batteries with energy harvesting capabilities. Int. J. Energy Res. 2020, 44, 5243–5258. [Google Scholar] [CrossRef]
  25. Tremblay, O.; Dessaint, L.-A. Experimental Validation of a Battery Dynamic Model for EV Applications. World Electr. Veh. J. 2009, 3, 289–298. [Google Scholar] [CrossRef] [Green Version]
  26. Tremblay, O.; Dessaint, L.-A.; Dekkiche, A.-I. A Generic Battery Model for the Dynamic Simulation of Hybrid Electric Vehicles. In Proceedings of the 2007 IEEE Vehicle Power and Propulsion Conference, Arlington, TX, USA, 9–12 September 2007; pp. 284–289. [Google Scholar]
  27. Remaining Energy Estimation for Lithium-Ion Batteries via Gaussian Mixture and Markov Models for Future Load Prediction—ScienceDirect. Available online: https://www.sciencedirect.com/science/article/abs/pii/S2352152X19312502 (accessed on 27 April 2021).
  28. Dicke, P.; Resch, S.; Steinbacher, F.; Luther, M.; German, R. Benefits and Challenges of the Kinetic Battery Model in System-Level Storage Unit Simulations. In Proceedings of the 12th International Conference on Computer Modeling and Simulation, Brisbane, Australia, 23–25 June 2020; Available online: https://dl.acm.org/doi/10.1145/3408066.3408072 (accessed on 26 April 2021).
  29. Wei, Z.; Meng, S.; Xiong, B.; Ji, D.; Tseng, K.J. Enhanced online model identification and state of charge estimation for lithium-ion battery with a FBCRLS based observer. Appl. Energy 2016, 181, 332–341. [Google Scholar] [CrossRef]
  30. A Noise-Tolerant Model Parameterization Method for Lithium-Ion Battery Management System—ScienceDirect. Available online: https://www.sciencedirect.com/science/article/abs/pii/S030626192030444X (accessed on 26 April 2021).
  31. Huang, C.; Wang, Z.; Zhao, Z.; Wang, L.; Lai, C.S.; Wang, D. Robustness Evaluation of Extended and Unscented Kalman Filter for Battery State of Charge Estimation. IEEE Access 2018, 6, 27617–27628. [Google Scholar] [CrossRef]
  32. Chen, Z.; Qiu, S.; Masrur, M.A.; Murphey, Y.L. Battery state of charge estimation based on a combined model of Extended Kalman Filter and neural networks. In Proceedings of the 2011 International Joint Conference on Neural Networks, San Jose, CA, USA, 31 July–5 August 2011; IEEE: San Jose, CA, USA, 2011; pp. 2156–2163. [Google Scholar]
  33. Tran, M.-K.; Mevawala, A.; Panchal, S.; Raahemifar, K.; Fowler, M.; Fraser, R. Effect of integrating the hysteresis component to the equivalent circuit model of Lithium-ion battery for dynamic and non-dynamic applications. J. Energy Storage 2020, 32, 101785. [Google Scholar] [CrossRef]
  34. Online State-of-Charge Estimation for Lithium-Ion Batteries Considering Model Inaccuracies Under Time-Varying Current Conditions. IEEE Access 2020, 8, 192419–192434. Available online: https://ieeexplore.ieee.org/document/9234395 (accessed on 27 April 2021). [CrossRef]
  35. Chen, M.; Rincon-Mora, G.A. Accurate electrical battery model capable of predicting runtime and I-V performance. IEEE Trans. Energy Convers. 2006, 21, 504–511. [Google Scholar] [CrossRef]
  36. Xiong, R.; Cao, J.; Yu, Q.; He, H.; Sun, F. Critical Review on the Battery State of Charge Estimation Methods for Electric Vehicles. IEEE Access 2018, 6, 1832–1843. [Google Scholar] [CrossRef]
  37. Schmidt, A.P.; Bitzer, M.; Imre, Á.W.; Guzzella, L. Experiment-driven electrochemical modeling and systematic parameterization for a lithium-ion battery cell. J. Power Sources 2010, 195, 5071–5080. [Google Scholar] [CrossRef]
  38. Smith, K.A.; Rahn, C.D.; Wang, C.Y. Model-based electrochemical estimation and constraint management for pulse operation of lithium ion batteries. IEEE Trans. Control Syst. Technol. 2010, 18, 654–663. [Google Scholar] [CrossRef]
  39. Li, G.; Peng, K.; Li, B. State-of-charge Estimation for Lithium-ion Battery using a Combined Method. J. Power Electron. 2018, 18, 129–136. [Google Scholar]
  40. Thele, M.; Bohlen, O.; Sauer, D.; Karden, E. Development of a voltage-behavior model for NiMH batteries using an impedance-based modeling concept. J. Power Sources 2008, 175, 635–643. [Google Scholar] [CrossRef]
  41. He, H.; Zhang, X.; Xiong, R.; Xu, Y.; Guo, H. Online model-based estimation of state-of-charge and open-circuit voltage of lithium-ion batteries in electric vehicles. Energy 2012, 39, 310–318. [Google Scholar] [CrossRef]
  42. Snihir, I.; Rey, W.; Verbitskiy, E.; Belfadhel-Ayeb, A.; Notten, P.H.L. Battery open-circuit voltage estimation by a method of statistical analysis. J. Power Sources 2006, 159, 1484–1487. [Google Scholar] [CrossRef] [Green Version]
  43. Kachitvichyanukul, V. Comparison of Three Evolutionary Algorithms: GA, PSO, and DE. Ind. Eng. Manag. Syst. 2012, 11, 215–223. [Google Scholar] [CrossRef] [Green Version]
  44. Santos, F.M.D.P. Algoritmo Enxame de Partículas Evolutivo Para o Problema de Coordenação de Relés de Sobrecorrente Direcionais em Sistemas Elétricos de Potência. Ph.D. Thesis, Universidade de São Paulo, São Carlos, Brazil, 2013. [Google Scholar]
  45. Glover, F. Tabu Search: A Tutorial. Inf. J. Appl. Anal. 1990, 20, 74–94. [Google Scholar] [CrossRef] [Green Version]
  46. Chai, T.; Draxler, R.R. Root mean square error (RMSE) or mean absolute error (MAE)?—Arguments against avoiding RMSE in the literature. Geosci. Model Dev. 2014, 7, 1247–1250. [Google Scholar] [CrossRef] [Green Version]
  47. Prognostics Center of Excellence—Data Repository. Available online: https://ti.arc.nasa.gov/tech/dash/groups/pcoe/prognostic-data-repository/#batteryrnddischarge (accessed on 29 January 2021).
  48. Bole, B.; Kulkarni, C.; Daigle, M. Adaptation of an Electrochemistry-Based Li-Ion Battery Model to Account for Deterioration Observed Under Randomized Use; SGT, Inc.: Santa Clara County, CA, USA, 2014. [Google Scholar]
Figure 1. CC-CV charging.
Figure 1. CC-CV charging.
Energies 14 03209 g001
Figure 2. Kinetic Battery Model.
Figure 2. Kinetic Battery Model.
Energies 14 03209 g002
Figure 3. Voltage response in discharge.
Figure 3. Voltage response in discharge.
Energies 14 03209 g003
Figure 4. Voltage projection.
Figure 4. Voltage projection.
Energies 14 03209 g004
Figure 5. ECM 2° order.
Figure 5. ECM 2° order.
Energies 14 03209 g005
Figure 6. The four-way proposed model flowchart.
Figure 6. The four-way proposed model flowchart.
Energies 14 03209 g006
Figure 7. Metaheuristic process for parameter selection improvement.
Figure 7. Metaheuristic process for parameter selection improvement.
Energies 14 03209 g007
Figure 8. (ac) Charge test; (df) Pulse Charge test; (gi) Discharge test; (jl) Pulse Discharge test; (mo) Alternating use test; (pr) Alternating use test *. * Model calibrated without alternating use.
Figure 8. (ac) Charge test; (df) Pulse Charge test; (gi) Discharge test; (jl) Pulse Discharge test; (mo) Alternating use test; (pr) Alternating use test *. * Model calibrated without alternating use.
Energies 14 03209 g008aEnergies 14 03209 g008bEnergies 14 03209 g008c
Table 1. Model parameters.
Table 1. Model parameters.
4-Ki-VMKiBaM-VM
ParameterChargeDischargeRest ChargeRest DischargeAll Scenarios
KiBaMc0.53940.34940.43500.39870.0155
k’0.00780.00620.00750.00710.0064
C7200 As7200 As
Voltage ModelA0.36480.46710.36090.67610.6683
B0.37321.91961.50271.66871.5118
K0.03840.04790.01280.01720.0338
E 0 3.74343.79903.78933.71273.7428
µ0.97520.90081.23440.88150.0762
Table 2. Error analysis.
Table 2. Error analysis.
ModelRMSE (mV)
DischargeChargePulse ChargePulse DischargeAlternating
KiBaM1.061.050.620.930.9
ECM0.930.540.830.650.62
4-Ki-VM0.730.360.470.550.62
KiBaM *0.910.560.550.682.54
ECM *0.810.520.70.461.26
4-Ki-VM *0.470.390.410.561.05
* Model calibrated without alternating use.
Table 3. Models’ comparison.
Table 3. Models’ comparison.
Mode UsedTime per IterationCharacteristics
ECM6.0 µs-Fast to compute and simplicity in implementation
-Can describe VxI characteristics and apparent capacity
-Great accuracy, which can be improved with more RC circuits
4-Ki-VM5.5 µs-With four models can precisely describe charging characteristics
-Best accuracy
-Fast to compute
-Can describe VxI characteristics and SOC fluctuations
KiBaM5.28 µs-Simplicity in implementation
-Requires few constants
-Explains SOC fluctuation and apparent capacity
-Lacks accuracy
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Fenner, G.P.; Stringini, L.W.; Rangel, C.A.S.; Canha, L.N. Comprehensive Model for Real Battery Simulation Responsive to Variable Load. Energies 2021, 14, 3209. https://doi.org/10.3390/en14113209

AMA Style

Fenner GP, Stringini LW, Rangel CAS, Canha LN. Comprehensive Model for Real Battery Simulation Responsive to Variable Load. Energies. 2021; 14(11):3209. https://doi.org/10.3390/en14113209

Chicago/Turabian Style

Fenner, Gustavo Piske, Leonardo Weber Stringini, Camilo Alberto Sepulveda Rangel, and Luciane Neves Canha. 2021. "Comprehensive Model for Real Battery Simulation Responsive to Variable Load" Energies 14, no. 11: 3209. https://doi.org/10.3390/en14113209

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop