Professional Documents
Culture Documents
Battery Management System for Electric Vehicle and the Study of SOC Estimation
Abstract—The SOC (state of charge) of the Li-ion battery However, this could lead to over-charge or over-discharge
cells in a pack are different because of the property for the individual property differences of the cells and the
differences, which would lead to over-charging/over- differences of state of charge (SOC), which would reduce
discharging the battery pack and as a result the service life the battery stack’s service life, indirectly increasing the
of the battery pack would be reduced. In this article, we application cost[2][3]. Therefore, each battery stack
designed a battery management system (BMS) for low should be equipped with a battery management system
voltage electric vehicle. The BMS adopted resistance shunt (BMS) which has the functions of SOC estimation, over-
method to avoid over-charging the battery cells. Extended charge/over-discharge protection and charge equalization,
Kalman filter (EKF) was utilized for high precision
to ensure that the battery stack can work efficiently and
estimation of SOC, which is very important for remaining
the cells working within appropriate SOC and avoiding
securely.
over-discharging the cells. Experiment result shows that In this paper, we designed a BMS for low-voltage
comparing with the commonly used ampere-hour integration electric vehicles. The controller of the system is a micro
approach, EKF decreased estimation error from 15.48% to control unit (MCU) whose version is MC9S12XEQ384
7.27%. High precision SOC estimation algorithm and designed by Freescale company. Passive equalization
effective charge equalization method can maintain the method is adopted for charge/discharge equalization, and
battery cells working at a good situation and extend the extended Kalman filter (EKF) is adopted as the SOC
service life of the battery pack, reducing the cost of use estimation algorithm which is a nonlinear identification
indirectly. This is meaningful for Li-ion battery’s industrial method with high precision and the SOC estimation error
application. is only 7.27%. The system is confirmed having an
excellent effect on maintaining battery stacks and
Keywords-BMS; charge equalization; SOC Estimation. ensuring safety in using the low-voltage electric vehicle.
I. INTRODUCTION II. HARDWARE STRUCTURE OF THE BMS
As a newly-developing storage battery, lithium iron The BMS introduced in this article is designed for
phosphate battery has been more and more widely used in low-voltage electric vehicle, and its output voltage is 48V,
different industrial fields such as electric vehicle, composed with 16 cells connected in series whose
intelligent power grid energy storage, electronic nominal voltage is 3V. The main function of the BMS is
instrument and so on, working as power supply system, to monitor and maintain the energy system of the electric
for its advantages of no pollution, high energy density and mobile. The structure of the BMS is shown in Figure 1.
security[1]. As a single cell usually cannot supply enough
voltage and power, Li-ion battery is often used in packs.
Temperature
RI1 RI2
Sampling Unit
Rt1 AVCC R3 -
RT1 AVCC AVCC
EN
Rt2 Current Sampling Unit
≥1
RT2 +
-
EN
R1
Rt16 CAN
Thermistor
RT16 MC9S12XEQ384 Communation
Multiplexer
Voltage Following Micro Control Unit
Circuit
Voltage Measurement
Port RV1 RV17 AVCC
P1
P0 EN
P2 RV2 RV18 ≥1
+
P1 -
P2 EN
R2
P16 Q1 RE1 Q2 RE2 Q16 RE16
RV16 RV32
Charge Equalization
Multiplexer
Voltage Following Unit
A Hall Sensor
P17 P16 Circuit
Voltage Sampling Unit
Li-ion Battery Stack
P0 P1 P16
In Figure 2, MC9S12XEQ384 MCU controls and through voltage division circuit, a multiplexer, voltage
deploys temperature sampling unit, current sampling unit, following circuit, and at last into the MCU. The
voltage sampling unit and charge equalization unit. As measurement port of the voltage sampling unit connects
MC9S12XEQ384 has a 16 bit AD converter inside, all the with the cells in series. The thermistors of the temperature
sampled analog signals were directly transferred into sampling unit contact directly with the cells, to accurately
MC9S12XEQ384. The voltage and temperature signals go measure the temperatures of the cells. Current signal go
153
through voltage division circuit, a multiplexer and then reading, SOC estimation and the control of the whole
into the MCU. Resistance-shunt method is applied in the system through the programs written inside, which will be
charge equalization unit. The shunt resistances are introduced in next section.
connected in parallel with the cells, and the shunt current
is controlled through setting the duty ratio of the switches
Q1~Q16. The MCU implements the operations of signal
154
MCU would shut down the whole circuit to protect the power characteristic (HPPC) experiment. Set the voltages
battery stack. of R1C1, R2C2 separately is U1, U2, and the current is I, the
relationship between voltage and current of the RC loop is
IV. THE SOC ESTIMATION METHOD BASED ON EKF
dU1 1 1
SOC estimation of the battery stack is one of the most =− U1 + I
important functions of BMS, the base to maintain the dt R1C1 C1
(1)
battery stack working within reasonable range, and also dU 2 1 1
one of the most difficult parts in BMS design. The most =− U2 + I
widely used SOC estimation method is ampere-hour dt R2 C2 C2
integration approach[5][6]. Its principle is computing out Define time constant τ1= R1C1,τ2= R2C2, then
the change of the charge by integrating current, adding the
changed change to the initial charge and the whole charge U OCV ( SOC ) = IR0 + U1 + U 2
can be computed out. This method is easy to implement, t t
− −
however, its estimation precision is often not satisfying U1 = U1 (0)e τ1
+ IR1 (1 − e τ1
) (2)
and will divergence with time. In this article, we apply
t t
EKF in the SOC estimation, which is a nonlinear −
τ2
−
τ2
estimation method with high precision. In this method, the U 2 = U 2 (0)e + IR2 (1 − e )
SOC of the battery stack is a state variable, and the state
Where U1(0), U2(0) is the initial voltage of capacitance
equalization is set up upon the battery model and the basic
C1, C2. Most SOC estimation methods based on EKF
principle of ampere-hour integration approach. The
adopt 3-rank polynomial to match OCV-SOC curve,
battery model selected in this article is shown in Figure 4.
which has a big error. In this article, we adopt 6-rank
polynomial and an exponential function to match OCV-
SOC curve, which improves the matching precision
remarkably:
U OCV ( SOC ) = a0 + a1 SOC + L + a6 SOC 6 + b0 eb1SOC (3)
The parameters a0, a1…a6, b0, b1 only relate to the
Figure 4. Li-ion Battery Model battery character. According to reference [7], the open
circuit voltage (OCV) can be measured quickly, and the
In Figure 4, R0 is the internal resistance of a cell, R1C1, parameters can be estimated by least squared method
R2C2 is two RC loops to simulate the polarity effect of a according to the OCV-SOC curve. The sampling time is
cell. UOCV(SOC) is the open circuit voltage of a cell, denoted Δt, and the electric quantity denoted Q0, then the
which is the function of the battery SOC. The parameters relationship between SOC, current and electric quantity is
of a cell above can be measured through hybrid pulse
Q( k + 1) Q (k ) + I Δt Δt
SOC (k + 1) = = = SOC (k ) + I (4)
Q0 Q0 Q0
Where k denotes sampling time. Any nonlinear system Where X denotes state variable, U denotes input signal,
state equation can be written as Z denotes measured output signal, W and V separately
denotes driving noise and measured noise, which are not
X (k ) = AX (k − 1) + BU (k − 1) + W (k ) uncorrelated white noises, whose variance matrix is
(5)
Z (k ) = g ( X (k ),U (k )) + V (k ) separately denoted Q and R.
Combining with equation(2), the system state equation
of the cell can be written as
⎡ SOC (k + 1) ⎤ ⎡1 0 0 ⎤ ⎡ SOC (k ) ⎤ ⎡ Δt / Q0 ⎤
⎢ U (k + 1) ⎥ = ⎢ 0 e −Δt /τ1 ⎥⎢ ⎥ ⎢ −Δt /τ1 ⎥
⎢ 1 ⎥ ⎢ 0 ⎥ ⎢ U1 (k ) ⎥ + ⎢ R1 (1 − e ) ⎥ I (k ) + W (k )
(6)
⎢⎣ U 2 ( k + 1) ⎥⎦ ⎢⎣ 0 0 e −Δt /τ 2
⎥⎦ ⎢⎣ U 2 (k ) ⎥⎦ ⎢⎣ R2 (1 − e −Δt /τ 2
) ⎥⎦
U L (k ) = U OCV ( SOC (k )) + I (k ) R0 + U1 (k ) + U 2 (k ) + V ( k )
155
⎡ Δt / Q0 ⎤ Step3: The measuring-state transfer matrix
B = ⎢⎢ R1 (1 − e −Δt /τ1 ) ⎥⎥ . Matrix C(k) can be computed out
∂g ( X (k ),U (k ))
is C (k ) =
⎢⎣ R2 (1 − e −Δt /τ 2 ) ⎥⎦ ∂X (k )
Step4:The gain matrix Kg is Kg(k)=P(k|k-
through 1)C(k)[C(k)P(k|k-1)C(k)T+R]-1
∂g ( X (k ),U (k )) dU OCV ( SOC (k )) Step5:The optimal estimation of the system state at
C (k ) = =[ ,1,1] (7) time k isX(k|k)=X(k|k-1)+Kg(k)[Z(k)-g(X(k),U(k))]
∂X (k ) dSOC (k ) Step6: The covariance matrix of the state error at time
Basing on the recursive algorithm of EKF, the SOC of k isP(k|k)=[1-Kg(k)C(k)T]P(k|k-1)
the battery stack can be estimated with the following Discharging a Li-ion cell with a nominal voltage of
process: 3V, and estimating its SOC utilizing ampere-hour
Step1: The prediction of the system state at time k integration approach and EKF separately according the
isX(k|k-1)=AX(k-1|k-1)+BU(k-1) current and voltage information, the estimation error of
Step2: The prediction of the covariance matrix of the ampere-hour integration approach is 15.48%, and the EKF
state error isP(k|k-1)=AP(k-1)AT+Q method is 7.27%. The SOC curve is shown in Figure 5.
1
A-h Integration
0.9 EKF
Authentic Output
0.8
0.7
0.6
SOC
0.5
0.4
0.3
0.2
0.1
0
0 50 100 150 200 250 300 350
Time/s
156