Professional Documents
Culture Documents
EVS27
Barcelona, Spain, November 17 - 20, 2013
Abstract
The remaining driving range (RDR) has been identified as one of the main obstacles for the success of
electric vehicles. Offering the driver accurate information about the RDR reduces the range anxiety and
increases the acceptance of electric vehicles. The RDR is a random variable that depends not only on
deterministic factors like the vehicle’s weight or the battery’s capacity, but on stochastic factors such as
the driving style or the traffic situation. A reliable RDR prediction algorithm must account the inherent
uncertainty given by these factors. This paper introduces a model-based approach for predicting the RDR
by combining a particle filter with Markov chains. The predicted RDR is represented as a probability
distribution which is approximated by a set of weighted particles. Detailed models of the battery, the
electric powertrain and the vehicle dynamics are implemented in order to test the prediction algorithm.
The prediction is illustrated by means of simulation based experiments for different driving situations
and an established prognostic metric is used to evaluate its accuracy. The presented approach aims to
provide initial steps towards a solution for generating reliable information regarding the RDR which can
be used by driving assistance systems in electric vehicles.
Keywords: electric vehicle, remaining driving range, driving assistance system, particle filter, Markov chain
EVS27 International Battery, Hybrid and Fuel Cell Electric Vehicle Symposium 1
World Electric Vehicle Journal Vol. 6 - ISSN 2032-6653 - © 2013 WEVA Page Page 0205
first estimates the energy consumption along most electric vehicles prevent the battery cells to
all possible routes and then, based on the SOC, discharge below the cell’s cut-off voltage, which
it calculates the maximum driving range. The marks the point of total charge depletion. Since
main drawback with these approaches is that the the terminal voltage is an indicator for total
RDR is treated as a deterministic quantity and charge depletion and is a measurable quantity, it
the uncertainties given by the driving behavior or represents the output yk of the system.
by the traffic situation are not taken into account.
In practice there are many sources of uncer-
Our aim is to introduce an approach that accounts tainty that influence the prediction of the RDR,
for these sources of uncertainty. In this paper the e.g., the lack of knowledge about the system
RDR prediction problem is approached by com- states and parameters, the noise presented in
bining particle filtering with Markov chains. A the measurements or the ignorance about the
two-step algorithm, adapted from a prognostics future driving conditions. Given these sources
framework [4], is used to this aim. In the first of uncertainty, it would be wrong to consider
step, the battery states are estimated using a par- the RDR as a deterministic quantity. Thus,
ticle filter. In the second step, the probability dis- instead of predicting single
RDR values, we
tribution of the RDR is determined by using the compute p RDRkp |y0:kp , i.e., the probability
estimated states and by propagating the particles distribution of the RDR. Here kp is the time at
through a driving profile generated stochastically
via Markov chains. The remaining of this paper which the prediction takes place.
is organized as follows. Section 2 formulates the
problem of the RDR prediction and introduces Fig. 1 depicts the adopted architecture for pre-
the proposed prediction architecture. In section 3 dicting the RDR. The RDR prediction proceeds
the model of the electric vehicle is described. in two steps. In the first step, the state estimation
Section 4 briefly discusses the particle filter used module uses uk and yk to compute the poste-
for the estimation of the states of the model. Sec- rior estimate p (xk |y0:k ), i.e., the most up to date
tion 5 discusses the proposed approach for the approximation of the states of the battery based
RDR prediction. Section 6 presents simulation on measurements acquired up to time k. In the
results for demonstrating and validating the ap- second step, the RDR prediction module uses,
proach. Section 7 concludes the paper and pro- at time kp , the current posterior state estimate
vides an overview of the future work. p xkp |y0:kp together with an hypothesized fu-
ture driving profile ukp , ukp +1 , ..., um to com-
2 Prediction Methodology pute p RDRkp |y0:kp . For the sake of better un-
derstanding, a driving profile is characterized by
The RDR is formally defined as the actual dis- the speed (v) and acceleration (a) of the vehicle
tance an electric vehicle can cover with the en- and by the slope (α) of the road.
ergy stored in the battery at given time k. The
RDR prediction problem can be formally for-
mulated by considering the electric vehicle as a 3 System Modeling
nonlinear system represented, in a discrete-time
form, by
3.1 Modeling Approach
xk = f (xk−1 , uk , vk , wk ) To predict the RDR a detailed model that
(1)
yk = h (xk , uk , nk , wk ) , determines the power demand of the electric
vehicle and describes the dynamic behavior of
where xk is the state vector, wk is the parame- the battery is needed.
ter vector, vk is the process noise vector, uk is
the input vector, yk is the output vector and nk is This work employs a quasi-static model, for
modeling the chassis, the driveline and the
the measurement noise vector. f(·) and h(·) rep- electric motor. The quasi-static approach is
resent the state and output function respectively. computationally efficient since it assumes that
The RDR prediction is concerned with forecast- the vehicle moves exactly with the predicted
ing the energy consumption of the electric vehi- speed. This assumption is convenient because
cle along the road ahead and identifying the point no differential equations have to be solved and
at which new recharging is required. This point the power requirements can be easily computed
can be mathematically determined by defining a by solving algebraic equations.
threshold as follows
Nevertheless, the battery cannot be modeled us-
1 ing this approach since, as already mentioned,
T (yk ) = (2) the terminal voltage determines the threshold of
0
the prediction algorithm. It is then necessary to
model the battery in such a way, that the non-
with T = 1 if new charge is required and T = 0 linear effects, in the capacity and in the terminal
otherwise. It is important to notice that the voltage, are taken into account. Fig. 2 shows the
threshold is defined as T (yk ). The reason for implemented model of the electric vehicle. We
this is that the battery management system of combine the quasi-static model with a dynamic
EVS27 International Battery, Hybrid and Fuel Cell Electric Vehicle Symposium 2
World Electric Vehicle Journal Vol. 6 - ISSN 2032-6653 - © 2013 WEVA Page Page 0206
RDR
Prediction
yk p RDRkp |y0:kp
uk Electric Vehicle Battery State at k = kp
(System) Estimation
p (xk |y0:k )
T
uk = vk ak αk
yk = Vbatt,k
Figure 1: RDR prediction architecture.
v
model to account for the aforementioned nonlin- Fair
earities presented in the battery.
Driving profile Battery Fx
Dynamic Fi , Fg
model mg
1 Fr
2
v, a, α
PT α 1 Fr
Fx Tw Tm Pele ± 2
ωw ωm − Figure 3: Forces acting during the motion of a vehi-
Chassis Tires Driveline Electric motor cle.
Quasi-static model
Pi
Auxiliary components
resistance coefficient and α is the slope of the
Figure 2: Combined quasi-static/dynamic electric ve- road.
hicle model. The mechanical power demand Pmec is calcu-
lated from the definition of mechanical power
Pmec = Fx v as follows
In the following two sections both parts of the 1
model are explained in detail. For the sake of bet- Pmec = ρair cw Av 3 + mg sin (α) v +
ter understanding, we omit expressing the vari- 2
ables of the quasi-static model as time dependent, +mgKr v + mav. (4)
since this model is described just by a set of al-
gebraic equations. The differential equations of This model accurately calculates the mechanical
the dynamic model, instead, are expressed in a power demand of a vehicle with a very low
discrete-time form, since both, the state estima- computational cost.
tion and the RDR prediction modules, require a
discrete-time representation of the battery model. To properly employ Eq.(4) in the RDR predic-
tion algorithm, we need to differentiate between
input variables and parameters. As already men-
3.2 Quasi-static Model tioned, in this paper a, v and α are considered
as input variables. All the other terms of Eq.(4),
An electric vehicle is composed of many compo- namely, ρair , cw , A, m, g, and Kr are assumed
nents which, for simplification purposes, can be to remain constant, since they rarely change or
considered to move uniformly. Thus, the electric change slowly during a trip. Accordingly, the in-
vehicle can be represented as one lumped mass. put vector for the electric vehicle model is given
As it can be seen in Fig. 3, the force Fx needed by
T
for moving the vehicle forward is given by
u= v a α . (5)
Fx = Fair + Fg + Fr + Fi , (3) The power of the electric motor is calculated
from the torque demand Tm and from the rota-
tional speed ωm at the rotor. As stated above, the
where Fair = 12 ρair cw Av 2 is the aerodynamic dynamic behavior of the driveline components is
drag force, Fg = mg sin (α) is the hill climb- not modeled. Therefore, Tm and ωm can be eas-
ing force, Fr = mgKr is the rolling resistance ily determined by
and Fi = ma is the force needed to acceler-
ate/decelerate the electric vehicle. Here v repre- Tw Fx rtire
Tm = = , (6)
sents the vehicle speed, ρair is the air density, cw id id
is the aerodynamic drag coefficient, A and m are
the frontal area and the mass of the vehicle, g is vid
the gravitational acceleration, Kr is the rolling ωm = ωw id = , (7)
rtire
EVS27 International Battery, Hybrid and Fuel Cell Electric Vehicle Symposium 3
World Electric Vehicle Journal Vol. 6 - ISSN 2032-6653 - © 2013 WEVA Page Page 0207
EVS27 International Battery, Hybrid and Fuel Cell Electric Vehicle Symposium 4
World Electric Vehicle Journal Vol. 6 - ISSN 2032-6653 - © 2013 WEVA Page Page 0208
EVS27 International Battery, Hybrid and Fuel Cell Electric Vehicle Symposium 5
World Electric Vehicle Journal Vol. 6 - ISSN 2032-6653 - © 2013 WEVA Page Page 0209
weights. Particle degeneracy leads to a poor ap- p RDRkp |y0:kp as follows
proximation of the state variables and, since most
weights are close to zero, valuable computational Nx
X
effort is wasted by updating insignificant parti- p RDRkp |y0:kp ≈
wki p RDRikp . (22)
cles. To overcome this issue the sequential im-
portance resampling (SIR) [9] is employed. The i=1
idea behind the SIR is to duplicate particles with As already mentioned, Eq.(22) requires an hy-
large weights and to eliminate those with small pothesized driving profile, which serves as the
weights. reference for the propagation of particles. We
employ a stochastic approach to predict the driv-
ing profile in such a way, that real-world driving
patterns are captured. The following section in-
5 RDR Prediction troduces the approach for predicting driving pro-
files.
The second step applies the particle filter for
predicting the RDR at given time kp . To this aim
the RDR prediction module uses the posterior
5.1 Driving Profile Prediction
estimate p(xkp |y0:kp ) as initial condition. It has been shown that driving profiles can be
modeled as a discrete-time Markov chain [11].
By assuming that the set of particles For predicting the entire driving profile two
n oNx Markov chains are used. First, future values of
xikp , wki p accurately represents the speed and acceleration are generated by a 2D
i=1 chain. Second, the slope profile is predicted
unknown states at the time of prediction, it is by means of a 1D Markov chain independent
possible to approximate the probability density of the speed and the acceleration. To apply a
function of system states at any time kp + m Markov chain the input space is quantized for
in the future by means of the law of total the speed/acceleration pair and for the slope
probabilities [10] in such a way that each input variable takes
a finite number of values. The input space
is then given by {uva va va
1 , u2 , ..., um } and by
p̂ xkp +m |x̂kp :kp +m−1 ≈ α α α
{u1 , u2 , ..., um }, where u va = {v, a} and
nx
X uα = α represent parts of the input vector given
wki p +m−1 p̂ x̂ikp +m |x̂ikp +m−1 . (21) by the speed/acceleration pair and by the slope
i=1 respectively, with m as the horizon length of the
predicted profiles.
To account for the fact, that during the prediction For the sake of brevity, here we just explain the
the shape of the states probability distribution generation of the speed/acceleration profiles.
may change, due to noise and process nonlin- The prediction of the slope profile proceeds in a
earities, Eq.(21) requires the set of weights to similar fashion.
be updated at each iteration. However, during
the prediction step no new measurements, which The Markov chain assumes that the transi-
could serve for updating the weights, can be tion probability from a state uva k to a state
acquired. This implies that an update procedure uva , where k is a discrete time instant (k =
k+1
for the particle weights, as it would happen in a t0 , t1 , t2 , ...), only depends on the current state
typical filtering problem, cannot be carried out. and not on the sequence of states that precede it.
This issue is addressed by assuming the weights The transition probabilities between all possible
as invariant from kp to kp + m. This assumption states are grouped in a transition probability ma-
is justified by considering the uncertainty added
by model inaccuracies or by the ignorance trix (TPM) P ∈ Rn×l such that
about future driving conditions to be large in
pij = P uva va
comparison to the uncertainty which comes from k+1 = j|uk = i , (23)
considering constant particle weights. In this
n oNx where pij is the ij th element of P. In this pa-
way, the set of weighted particles xikp , wki p per the transition probabilities are estimated from
i=1
is simply propagated forward into the future by historical driving data and from standard driv-
simulating the behavior of the electric vehicle ing cycles. The maximum likelihood estimation
as reaction to a future driving profile, until method [12] is applied for estimating the TPM.
minimum allowable battery terminal voltage is The transition probability pij is computed by
reached. nij nij
pij = s = , (24)
Once all particles have reached the cut-off bat- P ni
nij
tery voltage, i.e., Tkip = 1, the traveled dis- j=1
tance RDRikp of each particle is determined and where nij is the number of times a transition
combined with its weight wki p to approximate from uva va
i to uj has occurred, and ni is the
EVS27 International Battery, Hybrid and Fuel Cell Electric Vehicle Symposium 6
World Electric Vehicle Journal Vol. 6 - ISSN 2032-6653 - © 2013 WEVA Page Page 0210
100
5.2 Characterization of the RDR 50
EVS27 International Battery, Hybrid and Fuel Cell Electric Vehicle Symposium 7
World Electric Vehicle Journal Vol. 6 - ISSN 2032-6653 - © 2013 WEVA Page Page 0211
pack of the Nissan Leaf is emulated by scaling up where RDR∗kp represents the ground truth RDR,
the battery capacity to 24 kWh and the voltage to at time kp , obtained later after the simulation fin-
403.2 V. Table 2 presents the model parameters ishes and RDRkp is the median of the predicted
of the identified Li-ion cell.
RDR at that time.
The approach has shown similar performance for
Table 1: Parameters of the quasi-static part of the each driving scenario. Table 3 summarizes the
electric vehicle model. relative accuracy calculated for the prediction at
different prediction times. Fig. 8 shows the pre-
Parameter Value dictions for the UDDS drive cycle. As it can
A 2.29 m2 be seen, for most part of the time, the predicted
cw 0.28 RDR lies within the boundaries given by the
α − λ metric (α = 0.15). Also the quantiles
m 1520 kg Q5 and Q95 lie within the boundaries for most
Kr 0.7 of the time. It can be observed that, even though
Tm,max 280 Nm the accuracy of the prediction at kp = 1 is high,
Pele,max 80 kW the uncertainty in the prediction is large. This is
rtire 0.3 m caused by the uncertainty related to the state es-
timation. At the beginning of the simulation the
particle filter does not accurately track the battery
states. A certain time is needed for the filter to
Table 2: Model parameters of the Li-ion cell.
converge. Therefore, the ignorance about the ini-
tial state of the battery causes the RDR prediction
Parameter Value to be highly uncertain. Fig. 9 depicts the simula-
tion results for the ARTEMIS rural drive cycle.
Cn 2.15 Ah The results are similar to those obtained with the
Vnom 4.2 V UDDS. It is important to notice that fewer predic-
Vlim 2.8 V tions have been carried out. This is because the
d 1.4 × 10−5 average speed of the driving profile is higher and
c 0.96 therefore the time each particle needs to drive un-
til Tkijp = 1 is lower. Fig. 10 shows the prediction
At each experiment, the electric vehicle follows carried out with the ARTEMIS motorway driving
the speed profile imposed by the driving cycle. profile. This case shows the best performance of
For the sake of analysis, at the beginning of all driving scenarios. The high accuracy in the
each simulation the battery is assumed to be fully prediction is due to the few drastic changes pre-
charged. In this way the maximum driving range sented in the drive cycle. In this case a transition
that the electric vehicle can reach under differ- probability matrix of the highway for predicting
ent driving situations is compared. During the the driving profiles is used and therefore the gen-
simulation, the battery states are estimated by the erated profiles have very similar characteristics
particle filter at each iteration step and then this to the chosen drive cycle.
estimate is used for predicting the RDR. To re-
duce the computational burden of the simulation,
a RDR prediction is performed every 1000 sec- Table 3: RDR prediction performance.
onds if the battery SOC is larger than 30%. After kp RAUDDS RARURAL RAMOTORWAY
this point the RDR is predicted every 500 sec-
onds. 1 99.32 94.50 99.66
2 97.65 93.55 95.18
4 92.82 97.60 99.60
6.1.1 RDR Prediction Performance 6 91.73 97.39 99.79
In this section, we evaluate the prediction per- 8 92.54 96.09 98.61
formance for the different scenarios. For a 10 90.92 77.27 94.89
given prediction time kp , metrics of accuracy 12 91.25 −− −−
and spread are computed. Since the estimate 14 88.75 −− −−
p RDRkp |y0:kp is usually non Gaussian, we 16 88.19 −− −−
rely on the median for estimating the RDR and 18 91.71 −− −−
on quantiles as the measure of spread [16]. The
RA metric for evaluating the accuracy of the pre-
diction is computed by
EVS27 International Battery, Hybrid and Fuel Cell Electric Vehicle Symposium 8
World Electric Vehicle Journal Vol. 6 - ISSN 2032-6653 - © 2013 WEVA Page Page 0212
140
predicted driving profiles until all particles reach
120 the minimum allowable battery terminal voltage.
100 The driving profiles are modeled as stochastic
processes and they are predicted with the help of
80 Markov chains. The RDR is then computed as
60 a probability density function approximated by
40 the distribution of the propagated particles.
20 For demonstration and validation purposes, the
0 approach is tested in the simulation. Three
0 20 40 60 80 100 120 140 160 180
Traveled distance [km]
representative standard drive cycles have been
used as reference. The simulations have shown
Figure 8: RDR prediction results for the city drive that the proposed approach predicts the RDR for
cycle UDDS. all driving scenarios with an acceptable accuracy
and computational effort.
160 RDR∗ In the future, we aim to investigate new meth-
(1 − α)RDR∗ , (1 + α)RDR∗ ods for speeding up the prediction time so that
140
Median RDR prediction a real time application can be integrated in our
120 Q5 /Q95 RDR prediction test vehicle. It is also of high importance to in-
Predicted RDR [km]
70
60 References
50
40 [1] H. Yu, F. Tseng, and R. McGee, Driving pattern
identification for EV range estimation., Elec-
30
tric Vehicle Conference (IEVC), IEEE Interna-
20
tional, (2012).
10
0 [2] Y. Zhang, W. Wang, Y. Kobayashi and K. Shi-
0 10 20 30 40 50 60 70 80 rai, Remaining driving range estimation of
Traveled distance [km]
electric vehicle, Electric Vehicle Conference
Figure 10: RDR prediction results for the ARTEMIS (IEVC), IEEE International, (2012).
motorway drive cycle.
[3] P. Conradi and S. Hanssen, Dynamic cruis-
ing range prediction for electric vehicles, in
Advanced Microsystems for Automotive Ap-
tainty such as the one related to variability of
the driving profile. Also the inherent uncertainty plications, Springer-Verlag Berlin Heidelberg,
caused by measurements noise and by the (2011), pp. 269-276.
estimation of the battery states is considered in
the prediction. [4] M. Daigle and K. Goebel, A model-based prog-
nostics approach applied to pneumatic valves,
EVS27 International Battery, Hybrid and Fuel Cell Electric Vehicle Symposium 9
World Electric Vehicle Journal Vol. 6 - ISSN 2032-6653 - © 2013 WEVA Page Page 0213
EVS27 International Battery, Hybrid and Fuel Cell Electric Vehicle Symposium 10