abnormal driving behaviors detection with smart phones

4
@ IJTSRD | Available Online @ www ISSN No: 245 Inte R Abnormal Driving 1 Dr. B. Srinivasa Rao, 2 U. Sr 1 P 1,2,3,4 Dhanekula Institute of Eng ABSTRACT Abnormal driving behaviors detection for reducing accidents. There are se works for abnormal driving detection w cost sensors to check whether the drive state or in drunken state. In this paper w to introduce a low cost technique abnormal driving behaviors with the u built Smartphone sensors. With the collected from the sensors we will machine learning technique (SVM a extract the features and for generatin model. We will send the alerts if a detected. Keywords: Abnormal Driving beh (Support Vector Machine); K Neighbors); Smart phone sensors; sendi INTRODUCTION According to Annual Global Road C 2017, nearly 1.3 million people die in a year which indicates that on average 3 day. In addition to that 20-50 million a disabled. It also states that road accide leading cause for deaths. If correspondi not taken road accidents are predicted leading cause for deaths. Although there has been many works driving behaviors they focus mainly status of driver i.e. drunk, drowsy or smart phones are used widely now-a-da like to develop an android application the abnormal driving behavior and sen any such case is found. w.ijtsrd.com | Volume – 2 | Issue – 3 | Mar-Apr 56 - 6470 | www.ijtsrd.com | Volum ernational Journal of Trend in Sc Research and Development (IJT International Open Access Journ Behaviors detection with smar ri Devi, 3 K. Sri Satya Harsha, 4 A. Rakesh, 5 K Professor & Head of Department, 4,5 Department of Computer Science, gineering and Technology, Gangur, Andhra Prad is a key stone everal existing which uses high er is in normal we would like for detecting use of some in e information l employ the and KNN) to ng a classifier abnormality is haviors; SVM KNN(k-Nearest ing alerts Crash Statistics accidents each 3,287 deaths a are injured are dents is the 9 th ing actions are d to be the 5 th s on abnormal on detecting fatigue. Since ays, we would n which detect nds an alert if Going along this direction Smartphone sensors (acceler sensors) which are in-built se phones. With the help of thes features for all abnormal drivi be useful for distinguishing behaviors from normal ones. This has a wide scope for deve are monitored by Governme driving actions which lead government can also collect th who are identified to be drivin be used by the car owners for their drivers. According to [1 abnormal driving behaviors Swerving, Side-slipping, Fas wide radius, Sudden brakin driving behaviors have unique firstly we will collect the data drivers by employing all t driving behaviors through Sm machine learning to generate a helps in extracting the features driving behaviors. Fig 1 :(a) weaving, (b)swervin Fast U-turn, (e) Turning w Sudden braking r 2018 Page: 1384 me - 2 | Issue 3 cientific TSRD) nal rt phones K. Muralidhar desh, India n we considered the rometer and orientation ensors for many android se sensors we extract the ing behaviors which will g the abnormal driving elopment if these results ent for identifying rash ds to accidents. The he fines from the people ng abnormal. It can also r analyzing t he status of 1] there are six types of which are Weaving , st U-turn, turning with ng. These six types of e patterns. In this work, a from some experienced the types of abnormal martphone. We perform a classifier model which s for detecting abnormal ng, (c)Side slipping, (d) with a wide radius, (f)

Upload: ijtsrd

Post on 16-Aug-2019

9 views

Category:

Education


0 download

DESCRIPTION

Abnormal driving behaviors detection is a key stone for reducing accidents. There are several existing works for abnormal driving detection which uses high cost sensors to check whether the driver is in normal state or in drunken state. In this paper we would like to introduce a low cost technique for detecting abnormal driving behaviors with the use of some in built Smartphone sensors. With the information collected from the sensors we will employ the machine learning technique SVM and KNN to extract the features and for generating a classifier model. We will send the alerts if abnormality is detected. Dr. B. Srinivasa Rao | U. Sri Devi | K. Sri Satya Harsha | A. Rakesh | K. Muralidhar "Abnormal Driving Behaviors detection with smart phones" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-2 | Issue-3 , April 2018, URL: https://www.ijtsrd.com/papers/ijtsrd11339.pdf Paper URL: http://www.ijtsrd.com/engineering/computer-engineering/11339/abnormal-driving-behaviors-detection-with-smart-phones/dr-b-srinivasa-rao

TRANSCRIPT

Page 1: Abnormal Driving Behaviors detection with smart phones

@ IJTSRD | Available Online @ www.ijtsrd.com

ISSN No: 2456

InternationalResearch

Abnormal Driving Behaviors detection with smart phones

1Dr. B. Srinivasa Rao, 2U. Sri Devi

1Professor1,2,3,4,5

Dhanekula Institute of Engineering and

ABSTRACT

Abnormal driving behaviors detection is a key stone for reducing accidents. There are several existing works for abnormal driving detection which uses high cost sensors to check whether the driver is in normal state or in drunken state. In this paper we would like to introduce a low cost technique for detecting abnormal driving behaviors with the use of some in built Smartphone sensors. With the information collected from the sensors we will employ the machine learning technique (SVM and KNN) to extract the features and for generating a classifier model. We will send the alerts if abnormdetected. Keywords: Abnormal Driving behaviors; SVM (Support Vector Machine); KNN(kNeighbors); Smart phone sensors; sending alerts INTRODUCTION

According to Annual Global Road Crash Statistics 2017, nearly 1.3 million people die in accidents each year which indicates that on average 3,287 deaths a day. In addition to that 20-50 million are injured are disabled. It also states that road accidents is the 9leading cause for deaths. If corresponding actions are not taken road accidents are predicted to be the 5leading cause for deaths.

Although there has been many works on abnormal driving behaviors they focus mainly on detecting status of driver i.e. drunk, drowsy or fatigue. Since smart phones are used widely now-a-days, we wouldlike to develop an android application which detect the abnormal driving behavior and sends an alert if any such case is found.

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 3 | Mar-Apr 2018

ISSN No: 2456 - 6470 | www.ijtsrd.com | Volume

International Journal of Trend in Scientific Research and Development (IJTSRD)

International Open Access Journal

Abnormal Driving Behaviors detection with smart phones

Sri Devi, 3K. Sri Satya Harsha, 4A. Rakesh, 5K.

Professor & Head of Department, ,2,3,4,5 Department of Computer Science,

ngineering and Technology, Gangur, Andhra Pradesh

Abnormal driving behaviors detection is a key stone are several existing

works for abnormal driving detection which uses high cost sensors to check whether the driver is in normal state or in drunken state. In this paper we would like to introduce a low cost technique for detecting

s with the use of some in built Smartphone sensors. With the information collected from the sensors we will employ the machine learning technique (SVM and KNN) to extract the features and for generating a classifier model. We will send the alerts if abnormality is

Abnormal Driving behaviors; SVM (Support Vector Machine); KNN(k-Nearest Neighbors); Smart phone sensors; sending alerts

According to Annual Global Road Crash Statistics accidents each

year which indicates that on average 3,287 deaths a 50 million are injured are

disabled. It also states that road accidents is the 9th

leading cause for deaths. If corresponding actions are ts are predicted to be the 5th

Although there has been many works on abnormal driving behaviors they focus mainly on detecting status of driver i.e. drunk, drowsy or fatigue. Since

days, we would like to develop an android application which detect the abnormal driving behavior and sends an alert if

Going along this direction we considered the Smartphone sensors (accelerometer and orientation sensors) which are in-built sephones. With the help of these sensors we extract the features for all abnormal driving behaviors which will be useful for distinguishing the abnormal driving behaviors from normal ones. This has a wide scope for development if theare monitored by Government for identifying rash driving actions which leads to accidents. The government can also collect the fines from the people who are identified to be driving abnormal. It can also be used by the car owners for analyzing ttheir drivers. According to [1] there are six types of abnormal driving behaviors which are Weaving , Swerving, Side-slipping, Fast Uwide radius, Sudden braking. These six types of driving behaviors have unique patterns. Infirstly we will collect the data from some experienced drivers by employing all the types of abnormal driving behaviors through Smartphone. We perform machine learning to generate a classifier model which helps in extracting the features for dedriving behaviors.

Fig 1 :(a) weaving, (b)swerving, (c)Side slipping, (d)Fast U-turn, (e) Turning with a wide radius, (f) Sudden braking

Apr 2018 Page: 1384

6470 | www.ijtsrd.com | Volume - 2 | Issue – 3

Scientific (IJTSRD)

International Open Access Journal

Abnormal Driving Behaviors detection with smart phones

K. Muralidhar

Andhra Pradesh, India

Going along this direction we considered the Smartphone sensors (accelerometer and orientation

built sensors for many android phones. With the help of these sensors we extract the features for all abnormal driving behaviors which will be useful for distinguishing the abnormal driving

This has a wide scope for development if these results are monitored by Government for identifying rash driving actions which leads to accidents. The government can also collect the fines from the people who are identified to be driving abnormal. It can also be used by the car owners for analyzing the status of their drivers. According to [1] there are six types of abnormal driving behaviors which are Weaving ,

slipping, Fast U-turn, turning with wide radius, Sudden braking. These six types of driving behaviors have unique patterns. In this work, firstly we will collect the data from some experienced drivers by employing all the types of abnormal driving behaviors through Smartphone. We perform machine learning to generate a classifier model which helps in extracting the features for detecting abnormal

Fig 1 :(a) weaving, (b)swerving, (c)Side slipping, (d)

turn, (e) Turning with a wide radius, (f)

Page 2: Abnormal Driving Behaviors detection with smart phones

International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456

@ IJTSRD | Available Online @ www.ijtsrd.com

RELATED WORK

Nidhi Kalra et al. [2014] have studied that in today's life, everyone seems to be in hurry to achieve their destination as quickly as doable. Therefore individuals advisedly or accidentally take harsh driving events like unforeseen acceleration, unforeseen turns or unforeseen brakes that more lead them to accidents or maybe loss of their la typical belief that if person behaviour was being monitored, it might be comparatively safer. To watch driver behaviour numerous sensors were getting used either deployed within the automotive, wayside or inherent in Smartphone.This paper provides some analysis directions that numerous researchers will explore.

Prarna Dhar et al. [2014] have studied the Unsafe driving primarily includes driving either headlong or driving below the Influence (DUI) of alcohol, may be a major reason for traffic accidents throughout the planet. During this paper, we advise an extremely system that helps at early detection and alert of dangerous vehicle manoeuvres usually associated with rash driving. The complete system needs solely an itinerant which can be placed in vehicle and with its inherent measuring system and orientation sensing element. When putting in a program on the itinerant, it'll cypher accelerations supported sensing element readings and compares them with typical unsafe driving patterns extracted from real driving tests. Rachana Daigavane et al. [2015] has studied and discovers the most causes of accidents and so provides risk assessments thus, serving to cut back careless driving and enforce safe driving practices. Showing determination behaviour and energetic pursuit of your ends was presently a causal agency of traffic in an urban centre. Awareness and encourage driver safety square measure the measures that square measure further, we have a tendency to square measure shall propose a decent arrangement that uses detection system and management of the vehicle. For the foremost half, drivers aren't aware that they offer disposition to behave sharply activity found within the normal course of events. Among the factors concerned in driving, particularly the motive force, the vehicle, and also the surroundings, the human issue is that the most relevant and most troublesome to characterize. This project wasn't solely helpful for the motive force's behaviour detection however conjointly offer reconstruction and investigation of accidents and during this thanks to cut back the risks and dangers for the driver.

International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 3 | Mar-Apr 2018

Nidhi Kalra et al. [2014] have studied that in today's hurry to achieve their

destination as quickly as doable. Therefore individuals advisedly or accidentally take harsh driving events like unforeseen acceleration, unforeseen turns or unforeseen brakes that more lead them to accidents or maybe loss of their lives. And it's a typical belief that if person behaviour was being monitored, it might be comparatively safer. To watch driver behaviour numerous sensors were getting used either deployed within the automotive, wayside or inherent in Smartphone.This paper conjointly provides some analysis directions that numerous

Prarna Dhar et al. [2014] have studied the Unsafe driving primarily includes driving either headlong or driving below the Influence (DUI) of alcohol, may be

ason for traffic accidents throughout the planet. During this paper, we advise an extremely system that helps at early detection and alert of dangerous vehicle manoeuvres usually associated with rash driving. The complete system needs solely

hich can be placed in vehicle and with its inherent measuring system and orientation sensing element. When putting in a program on the itinerant, it'll cypher accelerations supported sensing element readings and compares them with typical unsafe

tterns extracted from real driving tests. Rachana Daigavane et al. [2015] has studied and discovers the most causes of accidents and so provides risk assessments thus, serving to cut back careless driving and enforce safe driving practices.

ination behaviour and energetic pursuit of your ends was presently a causal agency of traffic in an urban centre. Awareness and encourage driver safety square measure the measures that square measure further, we have a tendency to square

ose a decent arrangement that uses detection system and management of the vehicle. For the foremost half, drivers aren't aware that they offer disposition to behave sharply activity found within the normal course of events. Among the factors

riving, particularly the motive force, the vehicle, and also the surroundings, the human issue is that the most relevant and most troublesome to characterize. This project wasn't solely helpful for the motive force's behaviour detection however

offer reconstruction and investigation of accidents and during this thanks to cut back the risks

SYSTEM DESIGN

In this section the design of our proposed system which detects abnormal driving behaviors using smart phones is described. Our system does not require any additional hardware like alcohol sensors or video capturing devices for detecting abnormal driving behaviors.

Fig 2: System architecture

Figure 2 shows the architecture of our system. We divide the architecture of our system into two phases which are offline phase which includes modeling abnormal driving behaviors and online phase which includes monitoring of abnormal driving behaviors.

In the offline part we train a classifier model using machine learning technique basing on the data collected. In the feature extraction different features are extracted from the collected data using accelerometer and orientation sensor. After the feature extraction the features are trained in the training part and generate a classifier model. The final output of the offline phase is the model which is stored in a database. In the online phase to monitor the abnormal driving behaviors, the developed application is installed in the smart phones which sense the values from accelerometer and orientation sensors. After sensing the values from the real time driving, coarranged along the direction of the vehicle from the beginning to ending of driving phase. Afterwards in the identification phase we extract the features froreal time driving and employ the classifier model to check whether abnormal driving behaviors occurred. If any of the abnormal driving behaviors are detected then an alert message will be sent to the specified number. For the features extraction we used vector machine (SVM) and k(KNN).

International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470

Apr 2018 Page: 1385

In this section the design of our proposed system which detects abnormal driving behaviors using smart

described. Our system does not require any additional hardware like alcohol sensors or video capturing devices for detecting abnormal driving

Fig 2: System architecture

Figure 2 shows the architecture of our system. We of our system into two phases

which are offline phase which includes modeling abnormal driving behaviors and online phase which includes monitoring of abnormal driving behaviors.

In the offline part we train a classifier model using que basing on the data

collected. In the feature extraction different features are extracted from the collected data using accelerometer and orientation sensor. After the feature extraction the features are trained in the training part

ifier model. The final output of the offline phase is the model which is stored in a

In the online phase to monitor the abnormal driving behaviors, the developed application is installed in the smart phones which sense the values from

ter and orientation sensors. After sensing the values from the real time driving, co-ordinates are arranged along the direction of the vehicle from the beginning to ending of driving phase. Afterwards in the identification phase we extract the features from real time driving and employ the classifier model to check whether abnormal driving behaviors occurred. If any of the abnormal driving behaviors are detected then an alert message will be sent to the specified number. For the features extraction we used support vector machine (SVM) and k-nearest neighbors

Page 3: Abnormal Driving Behaviors detection with smart phones

International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456

@ IJTSRD | Available Online @ www.ijtsrd.com

MODULES

1. Data collection from Smartphone sensors

We collect the data from Smartphone sensors through an android application which uses accelerometer and orientation sensor. We align the co-ordinate axes in the direction of vehicle through which we can monitor the driving behaviors by retrieving the values from sensors. 2. Low Pass Filtering The collected data may have some noise. To remove noise from the collected data there are many noremoval techniques. In this paper we performed low pass filtering to remove high frequency noise. 3. Analyzing Patterns After filtering the data we analyze the patterns of abnormal driving behaviors by considering the factors like acceleration, range, mean and standard deviation. The unique patterns through which we can analyze different abnormal behaviors are as follows:i. Weaving: In this pattern the acceleration along Xfluctuates drastically for a period of time where as acceleration along Y-axis (accy) remains constant. This implies standard deviation and range of acchigh. ii. Swerving: In this pattern the acceleration and orientation along X-axis varies for a short period of time which implies that the range of accx and orix are high where accoriy remains soft. iii. Side slipping: In this pattern accy falls down sharply which indicates that range of accy is large. Moreover the value of accwill not be zero and will be based on the side that vehicle slips i.e. either right or left. iv. Fast U-turn: In this pattern the value of accx will increase at the beginning of U-turn and remains constant for a period of time and then decreases. This implies that the range of accx is large and same is the case with oriv. Turning with a wide radius: In this pattern accx and orix changes for a long period of time where as the values of oriy and accequal to zero but not zero. This implies that range of accx and orix is large. vi. Sudden braking: In this pattern accx and orix remains constant where as the value of accy decreases drastically. The value of

International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 3 | Mar-Apr 2018

1. Data collection from Smartphone sensors

We collect the data from Smartphone sensors through an android application which uses accelerometer and

ordinate axes in the direction of vehicle through which we can monitor the driving behaviors by retrieving the values from

The collected data may have some noise. To remove noise from the collected data there are many noise removal techniques. In this paper we performed low pass filtering to remove high frequency noise.

After filtering the data we analyze the patterns of abnormal driving behaviors by considering the factors

mean and standard deviation. The unique patterns through which we can analyze different abnormal behaviors are as follows:

In this pattern the acceleration along X-axis (accx) fluctuates drastically for a period of time where as

) remains constant. This implies standard deviation and range of accx are

In this pattern the acceleration and orientation along axis varies for a short period of time which implies

gh where accy and

falls down sharply which indicates is large. Moreover the value of accx

will not be zero and will be based on the side that

will increase at the turn and remains constant for a period

of time and then decreases. This implies that the range is large and same is the case with orix.

changes for a long period and accy are nearly

equal to zero but not zero. This implies that range of

remains constant where as decreases drastically. The value of

accy varies from beginning to ending. This implies that range of accy is large. Detecting abnormal driving behaviors with smart phone: The figure 5 shows user interface of our application. We have two phases in our application namely analysis and automatic.

(a)

Fig: (a) overview of application (b) screen showing acceleration. The result of analysis phase will give the count of abnormal driving behaviors observed during the driving from beginning to ending. The automatic phase will send an alert automatically to the specified number if any type of abnormal driving behaviors is detected.

(c) Result of analysis phase (d) Result of automatic phase. CONCLUSION

In this paper we developed an application to detect abnormal driving behaviors with the help of smart phones which does not require any pre deployed infrastructure like alcohol sensor etc. a wide scope for development by including some extra features like:

• Training Set Size • Traffic Condition

International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470

Apr 2018 Page: 1386

varies from beginning to ending. This implies

Detecting abnormal driving behaviors with smart

The figure 5 shows user interface of our application. We have two phases in our application namely

(b)

Fig: (a) overview of application (b) screen showing

alysis phase will give the count of abnormal driving behaviors observed during the driving from beginning to ending. The automatic phase will send an alert automatically to the specified number if any type of abnormal driving behaviors is

(c) Result of analysis phase (d) Result of automatic phase.

In this paper we developed an application to detect viors with the help of smart

phones which does not require any pre deployed infrastructure like alcohol sensor etc. This project has a wide scope for development by including some

Page 4: Abnormal Driving Behaviors detection with smart phones

International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 3 | Mar-Apr 2018 Page: 1387

• Road Type • Smartphone Placement • Smartphone Sensors’ Sampling Rate

REFERENCES:

1. U.S.NHTSA. The visual detection of dwi motorists.[Online].Available:http://www.shippd.org/Alcohol/dwibooklet.pdf

2. World.Health.Organisation. The top ten causes of death.[Online].Available:http://www.who.int/mediacentre/factsheets/fs310/en/

3. M. V. Yeo, X. Li, K. Shen, and E. P. Wilder-Smith, “Can svm beused for automatic eeg detection of drowsiness during car driving?”Elsevier Safety Science, vol. 47, pp. 115–124, 2009.

4. S. Al-Sultan, A. H.Al-Bayatti, and H. Zedan, “Context-aware driver behavior detection system in sintelligent transportaion system,” IEEE Trans. on Vehicular Technology, vol. 62, pp. 4264–4275, 2013.

5. J. Paefgen, F. Kehr, Y. Zhai, and F. Michahelles, “Driving behaviour analysis with smartphones: insights from a controlled field study.”

6. Y. Wang, J. Yang, H. Liu, Y. Chen, M. Gruteser, and R. P. Martin, “Sensing vehicle dynamics for determining driver phone use,” inProc. ACM MobiSys, 2013.

7. H. Han, J. Yu, H. Zhu, Y. Chen, J. Yang, Y. Zhu, G. Xue, and M. Li, “Senspeed: Sensing driving conditions to estimate vehicle speed in urban environments,” in Proc. IEEE INFOCOM, 2014.

8. S. Reddy, M. Mun, J. Burke, D. Estrin, M. Hansen, and M. Srivastava, “Using mobile phones to determine transportation modes,” ACM Trans. on Sensor Networks, vol. 6, no. 13, 2010.

9. J. Dai, J. Teng, X. Bai, and Z. Shen, “Mobile phone based drunk driving detection,” in Proc.PervasiveHealth, 2010, pp. 1–8.

10. M. Fazeen, B. Gozick, R. Dantu, M. Bhukuiya, and M. C.Gonzalez, “Safe driving using mobile phones,” IEEE Trans. on Intelligent Transportation Systems, vol. 13, pp. 1462–1468, 2012