Documente Academic
Documente Profesional
Documente Cultură
5
International Journal of Computer Applications (0975 – 8887)
Volume 98– No.12, July 2014
placed at fixed location at dashboard of vehicle in portrait readings for the same event, so it is difficult to set a
mode as shown in Fig 1. common threshold for every phone.
X-axis points toward right along the smaller side, Therefore, there was a need to do some preprocessing of data.
Y-axis points up along longer edge and The preprocessing module provides the gradient data as
Z-axis points towards the sky perpendicular to the plane of the shown in Table.1. The feature used for classification is
front face of the screen. difference between the consecutive values.
Data shows False Positive and False Negative Rate 0.458 0.08100003 -0.593
as shown in Fig 3. 0.68899995 1.038 0.982
Data is not in normalized form -0.34499997 1.9000001 -1.596
Data is device dependent as different devices have -0.311 -2.9780002 0.21700001
different levels of sensitivity and show different
6
International Journal of Computer Applications (0975 – 8887)
Volume 98– No.12, July 2014
Acceleration (ms^-2)
anomalies are analyzed and threshold is determined. Table 2 0.4
shows the threshold values of various events.
0.2
0 x axis
Table 2.Threshold for Driving Events and Road
Anomalies Detection -0.2 1 3 5 7 9 11 13 15 y axis
Event Axis Used for Threshold -0.4 z axis
Detection
-0.6
Normal y-axis(in -1 to -3 -0.8
Braking negative
direction)
-1
Time (ms)
Sudden y-axis(in <-3
Braking negative
direction) Fig 4: Pattern for Straight Driving and Smooth Road
shown in Fig 4.
1 y axis
0 z axis
1 2 3 4 5 6 7 8 9 10 11 12
-1 Time (ms)
7
International Journal of Computer Applications (0975 – 8887)
Volume 98– No.12, July 2014
4.4 Normal Braking and there is some deflection in x- axis and z- axis as shown in
Braking event will be determined by the change in Fig 9.
acceleration in y-axis. In this there is sudden decrease in
magnitude value of y- axis in negative direction and also there 4
is slight deflection in x- axis and z- axis. Frequent braking can
be due to various reasons for e.g. heavy congestion, bumpy 3.5
road or environmental factors such as rainfall as shown in Fig 3
Acceleration (m/s^2)
7. 2.5
2 x value
3
1.5
y value
2 1
0.5 z value
Acceleration(m/s^2)
1
0
0 x value -0.5 1 3 5 7 9 11
1 3 5 7 9 11 13 -1
-1 y value Time (ms)
z value
-2
Fig 9: Pattern for Sudden Forward Acceleration
-3
4.7 Pothole
-4 The pothole will be indicated with the change in the value of
Time (ms) z-axis. If there is no (or slight) deflection in the value of z-
axis, then it is smooth road (no bump or pothole) and if there
is any deflection, a bump or pothole is detected. If the
Fig 7: Pattern for Normal Brake magnitude of value of z-axis deflects firstly in positive
direction and then towards negative direction, with slight
4.5 Sudden Braking deflection in x and y value, then it will indicate a pothole as
Sudden Braking event will be determined by the change in shown in Fig 10.
acceleration in y-axis. In this there is very large decrease in
the y-axis in negative direction or we can say when there is
deflection in y axis in negative direction <-3, sudden braking
event occurred as shown in Fig 8.
Pothole
3
1
2
Acceleration(m/s2)
0.5
0 1 x-value
1 3 5 7 9 11
Acceleration (m/s^2)
-0.5 y-value
0
600
200
1000
1400
1800
2200
2600
3000
-1 z-value
x value
-1
-1.5
y value
-2 -2
z value Time(ms)
-2.5
-3
Fig 10: Pattern for Pothole
-3.5
-4 4.8 Bump
Time (ms) The bump (speed breaker) will be indicated with the change in
the value of z-axis. If there is no (or slight) deflection in the
value of z-axis, then it is smooth road (no bump or pothole)
and if there is any deflection, a bump or pothole is detected. If
Fig 8: Pattern for Sudden Brake
the magnitude of value of z-axis deflects firstly in negative
direction and toward positive direction, with slight deflection
4.6 Sudden Forward Acceleration in x and y value, then it will indicate a bump as shown in Fig
Sudden Forward Acceleration will be determined by the 11.
change in acceleration in y-axis. In this there is sudden
increase in magnitude value of y- axis in positive direction
8
International Journal of Computer Applications (0975 – 8887)
Volume 98– No.12, July 2014
IJCATM : www.ijcaonline.org
9