## 1. Introduction

Due to pollution and energy crisis, researches in electric-drive vehicles (EDVs), including battery electric vehicle (BEV), hybrid electric vehicle (HEV), and plug-in hybrid electric vehicle (PHEV), have soared worldwide. Considered as the main power of EDVs, battery technology has drawn more and more attention [1-7]. Batteries used in EDVs should not be overcharged or over-discharged to avoid damaging the battery, shortening the battery life, and causing fire or explosions. The battery management system (BMS), with the functions of battery modeling, battery state estimation, battery balancing, etc., is one of the key points to protect the battery and optimize the utilization of the battery in EDVs.

The main purpose of this chapter is to investigate the functions of BMSs for EDVs, researches in which have gained a new vigor. Battery modeling and state estimation are among the most popular topics for BMS, and this chapter will give a detailed introduction to these topics. Battery balancing is also very important in a BMS, considering the “Bucket Effects” for a large amount of battery cells in a battery string. This chapter will analyze the researches in this area according to literature review and a comparative analysis will be given. Several latest research results, including battery modeling, state estimation, and battery balancing, will also be introduced in this chapter.

Firstly, battery modeling methods will be investigated, including the equivalent circuit methods, impedance methods, etc. The comparison between the proposed impedance model and the measured impedance spectra will be shown and analyzed.

Secondly, the state estimation method for the battery used in EDVs, including the state of charge (SOC) estimation, will be analyzed. And a novel adaptive proportional integral observer SOC estimation method will be proposed.

Thirdly, the battery balancing method will be analyzed and compared. The positive balancing methods and active balancing methods will be introduced. A novel balancing topology will be proposed and analyzed.

Fourthly, the experimental validation will be introduced and the results will be analyzed.

Finally, conclusions of this chapter will be given.

## 2. Battery modeling

As an important interpretation of an actual battery, a battery model could be used as an important reference when designing the vehicle controller and estimating the states of the battery. This section will study battery models describing the characteristics of batteries. Firstly, some existing battery models will be reviewed and analyzed. Then, an impedance battery model will be proposed according to the merits and demerits of the existing battery models.

### 2.1. Review of battery equivalent circuit models

The battery is an electrochemical system with strong nonlinearity. To model such a strong nonlinear system is very difficult. Some attempts have been made to evaluate the battery models for the state and parameter estimation of a li-ion battery, such as electrochemical models and equivalent circuit models. Electrochemical models take advantage of electrochemical properties of the battery, and this method is relatively too complex for engineering, though it is relatively accurate. Thus, equivalent circuit models is very popular in practical applications, and several equivalent circuit models have been widely used, such as the Rint Model [8-10], the first order RC model [10-12], the second order RC model [10, 13], etc.

#### 2.1.1. The rint model

The Rint model [8] takes advantage of an ideal voltage source

In Figure 1,

According to the circuit theory, following equation could be obtained:

#### 2.1.2. The RC model

The RC model was proposed by the National Renewable Energy Laboratory (NREL), which has already been utilized in the automobile simulation software Advisor [8, 14]. The RC model consists of two capacitors and three resistors. The capacitance of

Similarly, the mathematical relationship could be obtained as follows:

where

#### 2.1.3. The first order model

The first order model [9, 15] is realized by adding a parallel RC network to the Rint model, that's why it is called first order model. The added parallel RC network is used to interpret the dynamic response of the battery. The equivalent circuit of the first order model is shown in Figure 3.

Four parts could be included in the first order model: the OCV

#### 2.1.4. The second order model

Another parallel RC network added to the first order model forms the second order model. The resistance of the RC network

### 2.2. The battery impedance model

Normally, a more accurate battery model could lead to more accurate state estimation. The models analyzed above have been widely used to estimate the states of the battery, but the problem is that they are sometimes not accurate enough to get satisfying estimation results. The electrochemical impedance spectroscopy (EIS) method is an experimental method to characterize electrochemical systems, and it is considered as one of the most accurate methods to model electrochemical systems, including li-ion batteries and supercapacitors [16-18]. However, studies have shown that the EIS method is too complex to be implemented in real time applications [19]. Besides, the impedance spectra vary with temperature, which adds difficulty to derive SOC directly from the impedance spectra. To solve this problem, an impedance model is proposed in the section [20].

#### 2.2.1. Impedance spectroscopy test

In an EIS test, an AC current is applied to the battery, and the voltage response to the current, namely, the amplitude and the phase, is recorded. By the complex division of AC voltage by AC current, the impedance is obtained. These procedures are repeated for different frequencies, and the properties of the battery in full range frequency is obtained [21]. The dynamic behavior of batteries could be activated and recorded by the EIS test, which gives a precise impedance measurement in a wide band of frequencies. The EIS test measures the nonlinearities, as well as very slow dynamics directly, thus it is considered as a unique tool to analyze battery dynamics.

The impedance spectra of a 50% SOC battery with 3 mHz to 2.1 kHz frequency range is shown in Figure 5. Three sections can be obtained for the impedance spectra, as shown in the figure, namely, the low-frequency section, the mid-frequency section, and the high-frequency section [21].

For the high-frequency section, where the frequency is larger than 144 Hz, the impedance spectra intersect with the real axis. According to the electrochemical theories (ET) and circuit theory (CT), this point could be explained by an ohmic resistance in the equivalent circuit.

When the frequency is smaller than 443 mHz, referred to as the low-frequency section, a straight line with a constant slope could be observed. This section could be expressed as a constant phase element (CPE) according to ET [18, 22, 23], which is often referred to as a Warburg element:

When in the mid-frequency section (443 mHz–144 Hz), the curve looks like a depressed semicircle. According to ET and CT, this depressed semicircle could be modeled by paralleling a CPE with a resistance in an equivalent circuit, which is called a ZARC element [23]. From the analysis above, the equivalent circuit is depicted as shown in Figure 6.

In Eq. 7,

Then comes the problem: how to use such an impedance model with CPE in it?

#### 2.2.2. Introduction to fractional order calculus

Considered as a natural extension of the classical integral order calculus, fractional order calculus (FOC) is becoming more and more popular. According to previous studies, most phenomena, including damp, fluid, viscoelasticity, friction, chaos, dynamic backlash, mechanical vibration, sound diffusion, etc., were considered to have fractional properties [24, 25]. Furthermore, the entire system would have fractional properties, as Machado pointed out, even if parts of it had integral properties [24, 26-28]. Based on FOC, more and more researches have been carried out to develop electrochemical models [22, 29], including lead-acid batteries, supercapacitors, li-ion batteries, fuel cells, and so on. In this section, to represent the impedance model in equations, a fractional modeling method is utilized. By this method, the impedance model can become more convenient to implement the SOC estimation of a battery.

#### 2.2.3. Impedance model interpreted by FOC

A FOC modeling method is introduced to interpret such an element. A fractional element is given in the following equation [20, 24]:

where

Furthermore, the phase of the fractional element listed in Eq. (8) is

where

Similarly, assume the equation of

where

Figure 7 depicts the Nyquist plot where

## 3. State of charge estimation

As an essential indicator for li-ion batteries used in EDVs, SOC is a key state to estimate the driving range of an EDV. Defined as the ratio of the remaining capacity to the nominal capacity of the battery, SOC of a battery can be described as:

The usable SOC range could be extended if an accurate SOC can be obtained. Thus, a smaller battery pack will be able to satisfy the demand of an EDV that right now is equipped with a large battery pack. The price will be much lower and it will be a great help for market penetration of EDVs.

### 3.1. Existing methods for state of charge estimation

Many SOC estimation methods have been reported in previous literature, including the ampere-hour method, the OCV method, the model-based method, and so forth. The ampere-hour method is simple and easy to implement for the calculation of battery SOC for it takes advantage of the definition of SOC. However, it needs the prior knowledge of initial SOC and suffers from accumulated errors of noise and measurement error [30, 31]. The OCV method takes advantage of the certain relationship between SOC and SOC, and is considered to be very accurate. However, to obtain the OCV needs a long rest time, and thus it is difficult be used in real-time applications [30]. Intelligent algorithms, such as fuzzy logic, artificial neural networks, and so forth, have been studied to estimate the SOC [32, 33]. Due to the powerful ability to approximate nonlinear functions, these methods can often obtain a good estimation of SOC. However, the learning process for these methods is often quite computationally demanding and complex, which becomes difficult to be applied in online applications.

Model-based SOC estimation methods are the most popular solutions [34-36]. The main methodology is to take advantage of both the voltage and the current of the battery. Measured currents will be applied to the model and the voltages will be calculated using the present and/or past states and parameters of the model. The errors between the calculated voltages and the measured voltages are applied to an algorithm to intelligently update the estimation states of the model. The Luenberger observer [37-39], the Kalman filter [40, 41], and the sliding mode observer [42-44], etc. could be used in such model-based SOC estimation methods.

Proposed by D. Luenberger [45] in 1966, the Luenberger observer is now widely used in different applications. Reference [37-39] introduced it to estimate the battery SOC and owned good results. The Kalman filter uses the entire observed input data and output data to find the minimum mean squared error estimation states of the true states of the li-ion batteries [41]. Essentially, the Kalman filter takes advantage of the prior input currents and output terminal voltages to obtain the Kalman gain. This Kalman gain is like the Luenberger gain, which feedbacks to correct the differences between the calculated states and the true states of the li-ion battery.

Reference [42] introduced the sliding mode observer to estimate the battery SOC. As indicated in the paper, the sliding mode observers inherited the robust properties in SOC estimation. It is robust under modeling uncertainties, but the chatter problem could not be ignored for this method. The block diagram of these methods is shown in Figure 8.

### 3.2. The proportional integral observer SOC estimation method

By an additional integrator, the proportional integral (PI) observer is reported to be more robust with respect to modeling uncertainties [46]. Since modeling errors always exist in a battery model, the PI observer is considered to be able to improve the accuracy and estimation speed of SOC estimation. Thus, the PI observer SOC estimation method is proposed in the section. [47]

A battery model could be considered as follows (referred to as System 1):

However, considering the modeling errors, capacity variation, and so forth, System 1 is not sufficient to model the battery. The nonlinear part should be added to the battery model, which could be described as follows (referred to as System 2) [48-50]:

where

Considering the special applications of the battery for EDVs, the disturbance could be caused by temperature, sensor noise, and so on. Taking temperature as an example, the variation rate could be very slow, and thus

According to the definition of the PI observer, the PI observer is designed as follows:

Note that variable

The unknown disturbance is considered, which would lead to modeling more accurate battery characteristics. The PI observer is applied to System 2 and when

These equations could be rewritten as:

So,

Since

If following matrix pair is observable,

which is equivalent to:

where

Substitute the parameters of the battery model into the matrix:

The matrix is full rank, so the conditions are satisfied that

By utilizing the pole place method or LQ method,

## 4. Battery balancing

Battery technology has attracted more and more attention as stated above [51, 52]. However, single batteries could not be used widely in actual applications, since the voltage and capacity of a single battery cell is inherently low. For actual applications, such as utility energy storage in smart grids and EDVs, the battery pack is designed to be hundreds to thousands of volts to optimize the system performance. A large number of battery cells connected in series and parallel to form the battery string are necessary in such applications.

However, no two battery cells could be the same. Such differences could be internal resistance, degradation level, nominal capacity, ambient temperature, etc. These inevitable differences among the cells in a battery string would lead to imbalance, which would cause many problems. Due to the “Bucket Effects”, the actual available capacity of the battery string would dramatically decrease. Overcharge and/or overdischarge could also be potentially caused by the imbalance, which is dangerous for batteries. Battery balancing is of paramount importance to maintain the performance and enhance the cycle life.

### 4.1. Existing balancing topologies

Many battery balancing methods have been presented in previous studies [53-66], which could be categorized as passive balancing methods and active balancing methods. For passive balancing methods [67-69], the excess energy would be removed from high-energy cell(s) through resistors. The energy is dissipated as heat through resistors, which not only wastes electricity energy, but also increases thermal control difficulty of the battery pack. Besides, only the high-energy battery cells work in the balancing process. A large amount of energy would be wasted if most of the battery cells have higher energy than some other cells.

For active balancing methods, active switching circuits are utilized to transfer energy between cells or between the cell(s) and the battery string. Compared to passive balancing methods, wasted energy will be very little. However, to fulfill the functions stated above, more switches and associated components are needed, which would lead to increased cost and reliability concerns. The cost and reliability should be carefully considered to make active balancing more competitive, including but not limited to, reducing the components, simplifying the structure of the topology, and reducing the control complexity.

A bi-directional buck-boost converter-based balancing topology [59-61] is shown in Figure 10a, which is referred to as Topology 1. In this method, a buck-boost converter is formed to transfer energy from a high energy cell to its adjacent cell. The problem is that cells can only be balanced by their adjacent cells. More than one step will be needed if the two cells that need to be balanced have a long distance (

Figure 10b shows another widely used balancing topology [62, 63], which is referred to as Topology 2. In this topology, the primary winding of a bi-directional Flyback converter is connected to each cell while the secondary winding is connected to the battery string terminals. A cell to the battery string balancing method is formed in this method, t. cells could be balanced simultaneously since each cell owns a separate converter. The total balancing time could be dramatically reduced compared with Topology 1. However, for

Another widely used balancing topology is depicted in Figure 10c [60, 64-66], which is referred to as Topology 3. Only one multi-winding transformer is utilized in this topology. *n* primary windings of the transformer are connected to *n* battery cells, respectively, and the secondary winding is connected to the battery string terminals. Only one single converter is utilized in this topology compared with Topology 2. The switches used in this topology are reduced to

### 4.2. The advanced cell to cell battery balancing topology

Based on the analysis of the three popular balancing topologies discussed above (as shown in Figure 11), an advanced cell to cell battery balancing topology is proposed [70]. In this topoloy, the number of switches and the number of windings are reduced. Thus, the cost will be lower and reliability will be higher due to reduced component count. Simultaneously, a much simpler control and gate drive system is needed with fewer switches. Since the topology realizes the cell to cell balancing, balancing time and complexity of the control processes will be reduced a lot. Furthermore, since the transformer turns-ratios are low, almost equals to 1, a relatively higher balancing efficiency and small size transformer could be achieved in this topology.

In Figure 11, *I* is the main current applied to the battery string, while

In this topology, the two adjacent cells, which share one winding (

As shown in Table 1, for the proposed topology, only one switch and one winding are needed for each cell. All the switches used in the proposed topology will not suffer high voltage stress. The cost would be dramatically reduced and the controlling complexity will also be lower.

## 5. Experimental validation

### 5.1. Battery test

To learn the characteristics of the battery, different types of battery tests have been taken out in the laboratory.

#### 5.1.1. Capacity test

Capacity test is firstly carried out to obtain the actual capacity of the battery.[71] The testing results are as shown in Figure 12.

#### 5.1.2. Hybrid pulse power characterization test

The Hybrid Pulse Power Characterization (HPPC) Test is intended to determine the dynamic power capability over the device's useable charge and voltage range using a test profile that incorporates both discharge and regeneration pulses. The results are as follows:

### 5.2. Experimental results and analysis

The widely used UDDS current profile is introduced to simulate the drive cycles of an EDV. The ampere counting method is utilized to calculate the reference SOC. The configuration of the battery test workbench is shown as Figure 16.

#### 5.2.1. State estimation validation

Two cases are studied in the validation procedure. The initial SOC is assumed to be given for the SOC estimation method in the first case. The estimation results in this case are given in Figure 17. The SOC diverges a little in the beginning, since the model is not so accurate. Then, the estimated SOC quickly converges to and keeps on tracing the reference SOC. The results given in Figure 17 show that the SOC estimation method could estimate the SOC with small errors when the initial SOC is given.

The initial SOC is assumed to be unknown in the second case, as shown in Figure 17. In this case, the reference SOC is actually 100% but the initial SOC of the SOC estimation method is assumed to be 60%. It is clear from the figure that the estimation error is 40% at first. Then the estimation errors reduce quickly, and the estimated SOC converges to the reference SOC. After the steady state, the estimated SOC traces the reference SOC with small errors. The results indicate that the initial SOC error could be compensated by the proposed SOC estimation method and the estimated SOC will converge to the reference SOC quickly.

From the discussions above, it can be concluded that the SOC estimation method works well for li-ion batteries. The SOC estimation errors are small even with a simple battery model, compensating the modeling errors and modeling uncertainties.

#### 5.2.2. Battery balancing validation

To validate the balancing method, the initial SOC is set to 93%, 88%, 88%, and 80% for the four cells, respectively. In this scenario, the energy is balanced from

Since the balancing process is based on SOC, the SOCs of the four cells should be first known. But these actual SOCs are not known to the SOC estimator. Initially, the SOC estimator assumes that the initial eSOC is 90% for all four cells. However, after a few sampling cycles of 50 to 100 s for example, the eSOC of each cell converges to the rSOC and the SOC differences of the cells can be observer by the balancing algorithm. With the eSOC obtained, the SOC-based balancing algorithms start to work efficiently, as shown in the figure. Eventually, the four cells are balanced according to the SOC in about 4000 s.

With the operation of the balancing procedures (as shown in Figure 18a), the SOC of

## 6. Conclusion

This chapter introduced advances in several popular BMS technologies, including battery modeling, battery state estimation, and battery balancing. Experimental workbench has been established to validate the aforementioned technologies. Several equivalent circuit battery models were first introduced and analyzed. Then based on it, the impedance model and the SOC estimation method were proposed. Several model-based SOC estimation methods were analyzed and the PI observer SOC estimation method was proposed. For the importance of balancing for battery strings in EDV applications, several existing balancing topologies were introduced and a novel cell to cell balancing topology was proposed. Finally, experimental tests were carried out to validate the effectiveness of the methods stated in this chapter. This chapter could be useful for BMS design and further study of technologies in this area.