I.INTRODUCTION
In the field of prognostic and BHM, data-driven models are
very popular due to their intuitive nature and very easy
implementation in real-time systems. Regression is one such
example of data-driven model. With the development of these
new algorithms the field of prognostic under battery
management system is growing very rapidly.
This paper summarizes the development process
of a data-driven approach for a dynamic load discharge
scenario, like a battery operated car moving on haphazard road
profiles. In our work, Li- Ion battery was used to run the
prototype car on road. The development of polynomial
978-9332-9026-40/14/$31.00 2014IEEE
49
y = mx + c ..
(1)
In this equation y is the measured error and x is the
collected current data sample form the sensor.
A. Calibration Of Current Sensor :The current sensor is calibrated with standard calibrated
multimeter. To calibrate the sensor, data is captured and
(2)
From the above equation -2, it can be observed that the RMP is
same as the total number of pulse generated in one seconds.
50
Algorithm 1:
Calibration
loop
INITILIZE amp = 0 //reading current sample
for i=0 to 100do
amp = amp + readSen();// reading sensor
//data and adding with past sample
end for
amp = amp / i; // taking average
error = 9 * amp - 0.6;// Y = MX+C
// Y is error, values of M = 9and C = -0.6 calculated from
experiment
amp = amp + error;
end loop
Sl. No.
1
M
9
y = f (x) = Ax + B
Or nonlinear
y = f ( x ) = Ax 2 + Bx + C
(8)
C
-0.6
Sl
no
Measured
Data(mA)
Sensor
Data(mA)
Difference(
ma)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
0.7
0.8
0.9
1
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
2
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
3
0.13
0.14
0.15
0.16
0.17
0.18
0.19
0.2
0.21
0.22
0.23
0.24
0.25
0.26
0.27
0.28
0.29
0.3
0.31
0.32
0.33
0.34
0.35
0.36
0.57
0.66
0.75
0.84
0.93
1.02
1.11
1.2
1.29
1.38
1.47
1.56
1.65
1.74
1.83
1.92
2.01
2.1
2.19
2.28
2.37
2.46
2.55
2.64
y = f (x)
(7)
(9)
(6)
51
If length(XT[n])==length YT[n]do
loop
INITILIZE f (x) //fitting algorithm
n = Find The Length of Dataset.
F = zeros(n, Degree + 1)
for i=0 to Degree do
// fill the columns of F with the power of XT
F[:, i]=XT[i]^(i) // Ref Equation 13
End
B[]=FTtans[] *F[];
B[] = FTtans[]* Y[];
y = a0 + a1 x + a2 x 2 + ..... + an x n
(10)
end if
(11)
A. Updating of Model Parameters with Sensor Data:Starting with de-noising, final training dataset was
created by removing some incomplete and corrupted runs. This
training dataset was collected over time by running the car on
different haphazard road profile. The noisy and de- noised
training data is shown in figure -8 and 9 respectively.
In the next part of the experiment, our focus is on,
learning this dataset based on Polynomial Regression and
update the model with new data sample to predict power
demand.
i =1
y1 1 x1
y2 = 1 x2
# # #
yk 1 xk
" x1n a0
" x2n a1
(12)
% # #
" xkn ak
Y = XA
(13)
X T Y = X T XA
A = ( XX T ) 1 X T Y [9]
(14)
52
EXPERIMENTAL RESULTS
Fitted Curve
Dataset
53
Fitted Curve
Dataset
Coeff.
Ord
er
Coeff.
Or
de
r
Coeff.
a18
3.9e-36
a11
-1.071e-16
a4
0.000474
a17
a16
a15
a14
a13
a12
-1.073e-32
1.337e-29
-1.016e-26
5.19e-24
-1.91e-21
5.2e-19
a10
a9
a8
a7
a6
a5
1.67e-14
-1.99e-12
1.79e-10
-1.19e-08
5.86e-07
-2.02e-05
a3
-0.00702
0.05922
0.05922
6.46
a2
a1
a0
54
Average Error
Error
Fitted Curve
Dataset
Average Error
Error
Fig 16: Data with different synamics with training set used to
validate the model
The average errors are very high (nearly 50%) when 2nd dataset
is used for validation, reflected in figure 20. Pattern of this
dataset, updated prediction model and comparison between
actual and predicted power demands are presented in figure 16,
17 and 18 respectively.
V.
CONCLUSION
55
[5]
[6]
[7]
[8]
[9]
[1]
[2]
[3]
[4]
REFERENCES
56