Open access peer-reviewed chapter

Hybrid Modeling Procedure of Li-Ion Battery Modules for Reproducing Wide Frequency Applications in Electric Systems

By Sandra Castano-Solis, Daniel Serrano-Jiménez, Jesús Fraile-Ardanuy, David Jiménez-Bermejo and Javier Sanz-Feito

Submitted: February 13th 2019Reviewed: July 19th 2019Published: October 17th 2019

DOI: 10.5772/intechopen.88718

Downloaded: 266


In this chapter, a hybrid modeling procedure of Li-ion battery modules is presented. From experimental results, the parameters of an electrical circuit have been determined by means of time- and frequency-domain tests. In this way, the dynamic behavior of the battery-pack is modeled. The tests have been performed at the whole battery-pack, instead of a single-cell approach, in order to consider the packaging effects of multicell devices. The real performance of the battery-pack under dynamic applications associated with distribution grids has been simulated using a hardware-in-the-loop (HIL) experimental setup. According to simulation results, the hybrid model follows the battery-pack response with high accuracy.


  • battery-pack modeling
  • dynamic performance electric grids
  • time-domain test
  • frequency-domain tests
  • HIL simulations

1. Introduction

Introducing renewable energy sources such as photovoltaic generators and wind turbines into energy distribution grids presents some drawbacks because the energy generation is discontinuous and strongly depends on daily weather conditions. For these reasons, distribution grids with high penetration of renewable resources present problems of reliability, stability, and power quality [1]. To solve these issues, several researchers recommend energy storage systems as support systems [2, 3].

In recent years, the improvements in terms of materials, high specific energy and power, and long life cycle have made Li-based batteries as a viable option to reduce renewable generation interruptions [4]. Because the nominal voltage of Li-ion cells is less than 4 V, commercial devices are composed by several Li-ion cells in a combination of series and/or parallel connections, to provide the desired power and capacity of the grid-scale applications. Multicell Li-ion devices include a battery management system (BMS) in order to prevent the cells’ voltage, temperature, and charging/discharging current from exceeding the safety limits [5]. Also, the BMS uses algorithms to equalize the cells’ voltage to avoid the cells’ voltage differences (produced by manufacturing processes and/or ageing processes) from limiting the whole pack performance [6]. Besides electrochemical behavior of Li-ion cells, the performance of the battery-pack is affected by the interactions between cells and BMS components. This configuration increases the nonlinear behavior of commercial battery devices compared with single cells. For all these aforementioned reasons, modeling of battery-packs is a difficult task.

Several battery models have been proposed in literature in order to facilitate their integration into different applications. The most detailed models include electrochemical- or physical-based models, which are able to accurately describe the chemical processes taking place inside battery cells [7, 8]. Despite their accuracy, these models are very complex to be implemented in a simulation tool, and the coupled nonlinear differential equations that compose the model require heavy computational work [9, 10]. In contrast with electrochemical models, electrical circuit models are not very complex, allow the simulation of the electrical response of the battery by using electrical elements (resistances, RC networks, ideal voltage sources, etc.), and can be easily incorporated in control strategies and simulation platforms. The simplest electrical circuit model of a battery is given by Thevenin’s equivalent circuit, which is composed of an ideal voltage source in series with a constant internal resistance [11, 12, 13]. This model can be used in an initial stage of battery dimensioning, but in the case of dynamic applications, it does not offer information regarding the transient behavior of battery [10, 14].

The accuracy of a battery model depends on the procedure used to obtain its parameters. Modeling techniques can be classified from simple black-box approaches to time- or frequency-domain procedures. Black-box models are simple to obtain, but do not provide information on the battery’s internal behavior. Time-domain models are obtained from the analysis of the battery voltage evolution during charge–discharge tests by means of the procedure called current interruption test. In order to improve the model accuracy, some authors [15, 16] use online parameter identification methods to predict battery dynamical behavior as a function of time. These models are relatively easy to obtain, but their validity is usually limited to specific load regimes [17]. Frequency-domain based models are performed by means of electrochemical impedance spectroscopy (EIS) tests [18, 19]. In this technique, a small AC excitation signal (either current or voltage) is applied as a variable frequency sweep to the battery. To obtain a linear model, the amplitude of the AC excitation signal applied to the cell is kept between 5 and 10% of the rated voltage/current. Although EIS models can be time-consuming to obtain, they can reproduce accurate battery behavior in a wide frequency range, typically from mHz to kHz [20, 21]. The equivalent complex impedance is calculated as the quotient between the instantaneous values of voltage and current for each test point.

Li-ion battery-packs are modeled in the majority of the cases as an aggregation of individual cell models, neglecting the packaging effects of multicell devices, although some recent works have shown that considering the interactions between cells and BMS elements can improve the accuracy of the Li-ion battery-packs models [22, 23]. Also, most battery models do not consider that battery modules can work at different dynamic regimes due to internal electrochemical processes that affect their transient behavior. In highly dynamic applications such as electrical grid support or frequency control in microgrids, there are three time constants of special interest [24]. The first one corresponds to the fast processes with dynamic performance from millisecond to seconds, and it is related to safety control of the battery-pack. The second constant refers to the load regime, which produces different charging/discharging cycles of the battery-pack. Finally, ageing processes that occur during long time (months or years) affect the state of charge (SOC) estimation. All these aspects should be taken into account in the modeling procedure of Li-ion battery-packs in order to reproduce their real behavior.

This work presents a hybrid modeling procedure of battery-packs based on time- and frequency-domain tests. From experimental results, the parameters of an electrical circuit are calculated. The elements of the electric circuit are a voltage source, which is determined by current interruption tests (in time domain), and an impedance measured by electrochemical impedance spectroscopy tests (in frequency domain). All tests have been carried out at the whole battery assembly, instead of single-cell measurements, in order to consider the packaging effects of multicell devices. The model has been experimentally validated using hardware-in-the-loop (HIL) simulations. In this way, the battery-pack performance under high dynamic load regimes in distribution grids has been reproduced.

The chapter’s contents are organized as follows: Section 2 explains the proposed hybrid model procedure, Section 3 presents the validation tests using a hardware-in-the-loop experimental setup, and finally, in Section 4, the conclusions are presented.

2. Hybrid modeling procedure

To reproduce the behavior of Li-ion batteries using an electric circuit, the circuit topology includes a voltage source that represents the active behavior of the battery and a series impedance of the passive one. In the hybrid experimental procedure proposed in this work, the parameters of the electrical model have been calculated from experimental results of both time- and frequency-domain tests.

The modeling procedure is applied to a commercial battery-pack composed of four parallel-connected strings (seven cells connected in series in each string) and a battery management system. BMS functions include measurement of cell voltage, temperature, and current of each series connection, an algorithm for cell voltage balancing, and the disconnection during charging and discharge processes (to avoid cells over/under voltage). Figure 1 shows a battery-pack connection scheme. The technical data of the battery-pack are presented in Table 1.

Figure 1.

Battery-pack connections.

Cells referenceMP 176065 Int (Saft batteries)
Pack rated voltage25.9 V
Pack maximum voltage29.4 V (4.2 V per cell)
Pack minimum cutoff voltage20.3 V (2.9 V per cell)
Pack capacity, Cn50 Ah
Pack maximum current50 A
Range of temperature (charge)−20 to 60°C
Range of temperature (discharge)−30 to 55°C

Table 1.

Battery-pack technical data.

2.1 Modeling of the voltage source

To model the voltage source (E0) of the battery-pack, the relationship between the open circuit voltage (OCV) and the state of charge is calculated by means of current interruption tests. First, the battery-pack is totally charged applying the constant current-constant voltage method (25 A until reaching the maximum voltage). After charging process, the device is discharged at current pulses of 10 A for 30 min (0.1 SOC variation) followed by 90 min of relaxation time. The OCV value for each test point is recorded when the relaxation time ends. Finally, the battery-pack is recharged at current pulses of 10 A for 30 min (0.1 SOC variation) followed by 90 min of relaxation time as in the case of discharge process. In the same manner, the OCV values are recorded at the end of the relaxation time. The results of these tests are shown in Figure 2 (discharging test) and Figure 3 (charging test). Table 2 presents the OCV values associated with each SOC test point, and this relationship is also sketched in Figure 4. As it can be seen, at the end of charge test, the final value of 100% of SOC is not reached because the BMS limits the applied current during the two last pulses. It is important to highlight that this situation does not occur when a single cell is tested, because the cell is charged and discharged from 100% SOC to 0% SOC without protection of BMS. In addition, test results do not show a high deviation of the average values as is reported in literature [25]; therefore, these values are used to evaluate the OCV-SOC relationship, which is presented in Eq. (1).

Figure 2.

Discharge test result.

Figure 3.

Charge test result.

Discharge resultsCharge results

Table 2.

OCV values at each test point.

Figure 4.

OCV-SOC characteristic.


2.2 Modeling of the battery-pack’s complex impedance

To carry out EIS tests, an impedance analyzer is generally used. This device generates a frequency sweep signal and measures the voltage and current in each test point. As a result, the complex impedance is calculated. Because most of commercial impedance analyzer generates AC signals less than 100 mA (suitable for cell testing), in this work, this signal is amplified and controlled by means of the experimental test bench deeply explained in [26].

EIS tests have been performed at different SOC values (20, 40, 60, 80, and 90% SOC) to analyze the effects of these SOC variations. The frequency sweep has been set from 1 mHz to 5 kHz (typically test range), with an AC ripple of 5 A (10% Imax). Figure 5 shows the Nyquist plots of the EIS results, which has been used to analyze the impedance behavior of the tested battery module. In this graph, the real part of the complex impedance (Z’) is represented along the x-axis and the imaginary part (Z”) along the y-axis. The capacitive behavior corresponds to negative values of Z” and the inductive behavior to the positive ones. In this way, it is easy to identify the parameters of the electrical circuit. According to EIS results, the impedance of the pack tested shows a capacitive behavior from 1 mHz to 316 Hz. From this value, the pack impedance corresponds to an ideal inductance. The differences in these plots reflect that SOC variations affect the capacitive behavior from 1 mHz to 4 Hz. For low frequencies, the Nyquist plots show that both real (Z’) and imaginary (Z”) parts of the impedance decrease with frequency, drawing a line with a slope of almost 45°. From 18 mHz to 4 Hz, the plots present semicircular shapes, whose diameter diminishes with increasing SOC. For medium frequencies (4 to 316 Hz), the impedance corresponds to a semicircle of constant diameter. To simulate these capacitive behaviors, several RC networks connected in series can be used [20, 21]. The value of equivalent resistance of the battery-pack is Ro ≅ 39 mΩ.

Figure 5.

EIS tests result.

To analyze the influence of the impedance components on the dynamic response of the battery-pack, Figure 6 shows the EIS result at 40% SOC. The results analysis allows to associate the most relevant time constants with the impedance behavior of the battery-pack. Most of the dynamic applications of the batteries (load/frequency control or renewable generation support) have their time constants from 1 mHz to 316 Hz; for this reason, the inductive behavior can be neglected. In this frequency range, the RC networks that reproduce the impedance behavior can be used to determine the different time constants that affect the dynamic response of the tested battery-pack. These time constants (τ1, τ2, τ3) are calculated from EIS test results and presented in Table 3.

Figure 6.

Time constants associated with pack impedance.

Element20% SOC40% SOC60% SOC80% SOC90% SOC
Ro (Ω)0.0390.0390.0390.0390.039
τ1(C1//R1) (s)23.4018.4315.7111.3910.92
τ2(C2//R2) (s)0.2950.1880.1360.1160.106
τ3(C3//R3) (s)0.00280.00300.00300.00290.0028

Table 3.

Battery-pack impedance parameters.

2.3 Hybrid model of the battery-pack

As a result of these combined time- and frequency-domain tests, an electrical circuit has been determined. Also, the model includes an integration current SOC estimator, to guarantee that the parameters of the electrical circuit simulate the dynamic behavior of the battery-pack for different SOC conditions, as shown in Figure 7. The inputs of the model are the initial value of SOC (SOC0), the battery-pack capacity (Cn), and the current (ipack). The output corresponds to the voltage response of the battery-pack (upack), which is calculated by Eq. (2), where uRo, uc1, uc2, and uc3 simulate the voltage response of the ohmic resistance and each RC network, respectively:

Figure 7.

Battery-pack model.




3. Hybrid model validation

To verify the accuracy and reliability of the proposed model to simulate the battery-pack behavior, hardware-in-the-loop simulations are used. HIL is a widely used experimental technique to reproduce the real conditions of physical applications [27, 28], using lab devices such as electronic loads, power sources, sensors, and data acquisition systems (in the case of electric applications). To perform the HIL simulation of the battery-pack, the experimental setup shown in [26] is used. In this test bench, the load regime is simulated by means of a MATLAB/Simulink model (software simulation). This current signal is used to control (by DSpace control system) the output signal of an electronic load and a power source connected in parallel to reproduce the charging/discharging cycles. This configuration is called hardware simulation; in this way, real devices are used to test the battery-pack. A control schema of the HIL simulation is shown in Figures 8 and 9 that presents a picture of the test bench.

Figure 8.

HIL simulation control setup.

Figure 9.

Test bench picture.

Three simulations of the battery-pack performance under dynamic regimes associated with distribution grids operation have been analyzed. The first one corresponds to a load frequency control application (LFC), which is related to grid frequency control, with typical time constants ranging from 0.2 ms to 10 s. The second one reproduces the dynamic voltage support (DVS) of a renewable energy source during 110 s. The simulated models of these load regimes are based on the operation of a hybrid ac/dc microgrid presented in [29]. Finally, the third one simulates the performance of an energy support device uninterruptible power supply (UPS). The time duration of this energy support is less than 30 min; and to test the transient response, different current steps have been simulated. The current profiles associated with these applications are shown in Figures 1012. These current signals are used as the input signals of the HIL simulations. The simulations have been performed at different SOC values to check the model response under SOC variations. Figures 1318 present the comparison of the voltage response of the hybrid model (Umodel) and the voltage measurement at battery-pack terminals (Ubpack) during the HIL simulations.

Figure 10.

Current profile of LFC simulation.

Figure 11.

Current profile of DVS simulation.

Figure 12.

Current profile of UPS simulation.

Figure 13.

Simulation results at LFC (48% SOC).

Figure 14.

Simulation results at LFC (72% SOC).

Figure 15.

Simulation results at DVS (45% SOC).

Figure 16.

Simulation results at DVS (73% SOC).

Figure 17.

Simulation results at UPS (53% SOC).

Figure 18.

Simulation results at UPS (78% SOC).

The validations tests show that the hybrid model simulates the battery-pack behavior with high accuracy in all cases analyzed. The maximum errors for each simulation are 0.28% (LFC), 0.40% (DVS), and 0.23% (UPS).

4. Conclusions

This chapter presents a hybrid modeling procedure of Li-ion battery-packs which is able to simulate the dynamic behavior associated with electric grid applications. The parameters of an electrical circuit have been calculated from experimental results of current interruption and EIS tests. The active behavior of the battery-pack has been simulated by a voltage source, and the impedance reflects the electrochemical processes by means of three RC networks (which correspond to three different time constants) and an ohmic resistance. The experimental procedure has been performed at the whole battery-pack in order to include the interactions of battery cells and BMS components.

To reproduce the battery-pack behavior under high dynamic applications of distribution grids, a hardware-in-the-loop platform has been used. Three different cases (load frequency control, dynamic voltage support, and uninterruptible power supply) at different SOC conditions have been simulated. The validation results show that the hybrid model reproduces the dynamic behavior of the battery-pack with high accuracy in all cases analyzed.

Conflict of interest

The authors declare no conflict of interest.

© 2019 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution 3.0 License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

How to cite and reference

Link to this chapter Copy to clipboard

Cite this chapter Copy to clipboard

Sandra Castano-Solis, Daniel Serrano-Jiménez, Jesús Fraile-Ardanuy, David Jiménez-Bermejo and Javier Sanz-Feito (October 17th 2019). Hybrid Modeling Procedure of Li-Ion Battery Modules for Reproducing Wide Frequency Applications in Electric Systems, Research Trends and Challenges in Smart Grids, Alfredo Vaccaro, Ahmed Faheem Zobaa, Prabhakar Karthikeyan Shanmugam and Kannaiah Sathish Kumar, IntechOpen, DOI: 10.5772/intechopen.88718. Available from:

chapter statistics

266total chapter downloads

More statistics for editors and authors

Login to your personal dashboard for more detailed statistics on your publications.

Access personal reporting

Related Content

This Book

Next chapter

Introductory Chapter: Open Problems and Enabling Methodologies for Smart Grids

By Alfredo Vaccaro, Antonio Pepiciello and Ahmed Faheem Zobaa

Related Book

First chapter

Potential of the Solar Energy on Mars

By Dragos Ronald Rugescu and Radu Dan Rugescu

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

More About Us