driving pattern recognition using parameter-lite ... id-2420143.pdf · driving pattern recognition...

7
International Journal of Research in Advent Technology, Vol.2, No.4, April 2014 E-ISSN: 2321-9637 1 Driving Pattern Recognition Using Parameter-Lite Clustering Approach Ramakrishnam Raju BHVS 1 , Valli Kumari V 2 , Azad Naik 3 Department of Information Technology, SRKR Engineering College, Bhimavaram- 534204 1 Department of CS & SE, Andhra University College of Engineering, Visakhapatnam-530003 2 Department of Computer Science, George Mason University, Fairfax, USA - 22030 3 Email: [email protected] 1 Abstract- Advanced driver assistance systems (ADAS) in automobiles are tools that provide a driver with necessary information that lead to an overall increase in vehicle safety. Classification and understanding of driving maneuvers can help in safety systems. In this paper, we introduced an unique framework which make use of smart phone sensors (accelerometer, gyroscope, magnetometer, GPS) to record the driving patterns and a parameter-lite clustering technique to detect the abnormal driving patterns of a vehicle. The empirical results on real dataset revealed that the proposed framework distinguishes the cluster resolution. Index Terms- Driving Patterns, Smart phone sensors, clustering. 1. INTRODUCTION Today in the fast-paced society, people are paying attention on arriving at destinations as quickly and safely as possible. Drivers often overlook safety measures to reach destination in time. Drivers, while operating a vehicle, are not always vigilant of all the hazardous situations such as sudden vehicle maneuvers and harmful road environment. These situations frequently contribute into accidents [Ivan et al.(2014)] The purpose of ADAS [Mohamed et al. (2012)] is to prevent drivers from hazardous situations by controlling their vehicles or alert them with the current vehicle event information. Although many types of ADASs have been compensated [Javier el al.(2013)] , they still have some constraints. First of them is that the detection process is complicated, and the second is lack of information regarding orientation and speed of the vehicle. However, clustering the raw data based on the state (orientation and speed) of the vehicle is important to amend the safety and performance in a wide range of applications. In recent years, there has been remarkable growth in smart phones embedded with various sensors such as magnetometers, accelerometers, gyroscopes, Global Positioning Systems (GPSs), etc [Derick and Mohan (2011), Boon and Wan (2012)]. Sensory data has been used effectively in many applications including intelligent transportation systems that can offer users with new functionalities [Amin et al. (2008)]. This type of driver assist is only meant to complement the driver but not to take full control of the vehicle. Providing constructive feedback to the driver is crucial in alarming bad driving behaviors. Analysis of external sensors data for vehicle events is an effective area of research. Some effort has been rooted in the form of theoretical research and in a sensible design. The main idea of this paper is to focus on classifying different driving maneuvers. 2. RELATED WORK Mitrovi´c [Mitrovic (2005)], proposed the Hidden Markov Models (HMM) to train the data from accelerometer only for recognition of simple driving patterns. As HMM was used, events involved in the driving maneuvers has been marked manually, which is inefficient. Yong [Yong el al. (2013)] presented Discrete Hidden Markov models (DHMMs) to classify driving patterns of lane changes and cornering. Wang [Wang et al. (2010)] introduced a dangerous-driving warning system that uses statistical modeling to mine the safe or dangerous driving patterns from time-series data with very limited labeling information. A Driver Monitor System was proposed in [Baldwin and Duncan (2004)] to monitor the driving patterns of the elderly. This system was used mainly for data recording and offline analysis over extended periods of time. Derick [Derick and Mohan (2011)] focused on a driver’s ability to perform on the road. They proposed a technique using a mobile smart phone to detect various driving patterns of an operator mimicking the habits of a drunk driver. Liang [Lianng el al.(2007)] developed an in- vehicle system to detect driver distraction that employs SVMs. The above systems predict the driver vigilance index based on driving behavior and vehicle movement instead of driver actual condition in real- time. Nericell [Mohan el al.(2008)] is a system that detects bumps, vehicle braking and traffic honking, using external sensors, such as a microphone, GPS, accelerometer, and Global System for Mobile communications radio for traffic localization. Services proposed by Wang [Wang el al. (2011)] resented a

Upload: trannga

Post on 09-Sep-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

International Journal of Research in Advent Technology, Vol.2, No.4, April 2014 E-ISSN: 2321-9637

1

Driving Pattern Recognition Using Parameter-Lite Clustering Approach

Ramakrishnam Raju BHVS1, Valli Kumari V2, Azad Naik3

Department of Information Technology, SRKR Engineering College, Bhimavaram- 5342041

Department of CS & SE, Andhra University College of Engineering, Visakhapatnam-530003 2

Department of Computer Science, George Mason University, Fairfax, USA - 220303 Email: [email protected]

Abstract- Advanced driver assistance systems (ADAS) in automobiles are tools that provide a driver with necessary information that lead to an overall increase in vehicle safety. Classification and understanding of driving maneuvers can help in safety systems. In this paper, we introduced an unique framework which make use of smart phone sensors (accelerometer, gyroscope, magnetometer, GPS) to record the driving patterns and a parameter-lite clustering technique to detect the abnormal driving patterns of a vehicle. The empirical results on real dataset revealed that the proposed framework distinguishes the cluster resolution.

Index Terms- Driving Patterns, Smart phone sensors, clustering.

1. INTRODUCTION

Today in the fast-paced society, people are paying attention on arriving at destinations as quickly and safely as possible. Drivers often overlook safety measures to reach destination in time. Drivers, while operating a vehicle, are not always vigilant of all the hazardous situations such as sudden vehicle maneuvers and harmful road environment. These situations frequently contribute into accidents [Ivan et al.(2014)] The purpose of ADAS [Mohamed et al. (2012)] is to prevent drivers from hazardous situations by controlling their vehicles or alert them with the current vehicle event information. Although many types of ADASs have been compensated [Javier el al.(2013)] , they still have some constraints. First of them is that the detection process is complicated, and the second is lack of information regarding orientation and speed of the vehicle. However, clustering the raw data based on the state (orientation and speed) of the vehicle is important to amend the safety and performance in a wide range of applications.

In recent years, there has been remarkable growth in smart phones embedded with various sensors such as magnetometers, accelerometers, gyroscopes, Global Positioning Systems (GPSs), etc [Derick and Mohan (2011), Boon and Wan (2012)]. Sensory data has been used effectively in many applications including intelligent transportation systems that can offer users with new functionalities [Amin et al. (2008)]. This type of driver assist is only meant to complement the driver but not to take full control of the vehicle. Providing constructive feedback to the driver is crucial in alarming bad driving behaviors. Analysis of external sensors data for vehicle events is an effective area of research. Some effort has been rooted in the form of theoretical research and in a

sensible design. The main idea of this paper is to focus on classifying different driving maneuvers.

2. RELATED WORK

Mitrovi´c [Mitrovic (2005)], proposed the Hidden Markov Models (HMM) to train the data from accelerometer only for recognition of simple driving patterns. As HMM was used, events involved in the driving maneuvers has been marked manually, which is inefficient. Yong [Yong el al. (2013)] presented Discrete Hidden Markov models (DHMMs) to classify driving patterns of lane changes and cornering. Wang [Wang et al. (2010)] introduced a dangerous-driving warning system that uses statistical modeling to mine the safe or dangerous driving patterns from time-series data with very limited labeling information. A Driver Monitor System was proposed in [Baldwin and Duncan (2004)] to monitor the driving patterns of the elderly. This system was used mainly for data recording and offline analysis over extended periods of time. Derick [Derick and Mohan (2011)] focused on a driver’s ability to perform on the road. They proposed a technique using a mobile smart phone to detect various driving patterns of an operator mimicking the habits of a drunk driver.

Liang [Lianng el al.(2007)] developed an in-vehicle system to detect driver distraction that employs SVMs. The above systems predict the driver vigilance index based on driving behavior and vehicle movement instead of driver actual condition in real-time. Nericell [Mohan el al.(2008)] is a system that detects bumps, vehicle braking and traffic honking, using external sensors, such as a microphone, GPS, accelerometer, and Global System for Mobile communications radio for traffic localization. Services proposed by Wang [Wang el al. (2011)] resented a

International Journal of Research in Advent Technology, Vol.2, No.4, April 2014 E-ISSN: 2321-9637

2

Fig. 1 Axes for Smart Phone and Vehicle

Pitch

Roll

Yaw

Surge Sway

Heave

model that can be used to distribute driver and vehicle information utilizing popular cloud computing. Zhang [Zhang et al.(2010)] proposed a pattern recognition approach to characterize drivers based on their skill level. Using a high-end vehicle simulator, they compare driver behavior such as steering control, lane changes, and traffic levels with an expert driver to help with category resolution. Learning and classification algorithms are then used to predict the driver’s overall skill level derived from these conditions

Moreno [Moreno et al. (1996)] combined data relating to steering wheel movement, acceleration and braking of the vehicle for detecting the drowsiness of a driver. Dillies [Dillies (1997)] employed a real-time fuzzy pattern recognition process in a neural network. The input to the neural network is sensory data from the steering wheel, speed and the accelerator. Liaw [Liaw (2004)] uses Fuzzy logic for driving pattern analysis.

In this paper, a single measuring device rather than expensive external sensors placed in the vehicle is used, which ultimately decreases the infrastructure costs. The mobile Smartphone used in this work, contains gyroscope, accelerometer etc., offering flexibility in methodology and in identifying different driving maneuvers. In order to classify these driving patterns, an approach involving parameter-lite clustering algorithm is used to minimize the user intervention in finding the driving pattern recognition.

3. METHODOLOGY

Driving maneuvers are composed of many events, such as lane changes, aggressive left and right turns, sudden breakings and sudden accelerations etc. This research classifies these driving patterns because these

patterns arise habitually than other driving patterns. Furthermore, they are much related to dangerous conditions.

The latest smart phones are equipped with many useful inputs for research, such as Camera, 3-axis Accelerometer, 3-axis Gyroscope, Proximity sensor, Magnetometer, GPS, etc. These devices are inexpensive and adaptable to research platforms that provide vehicle data collection reachable to academia as well as the general public. The proposed system focused on the accelerometer, gyroscope and GPS (for event location and speed) sensors only. For motion detection, the axes of the mobile phone and vehicle are as shown in Fig. 1[Yan (2013)]. The phone position in a vehicle is as shown in Fig. 2.

The maneuvers of interest are safe, normal and abnormal maneuvers. The abnormal maneuvers indicate potentially-aggressive driving that would cause danger to both pedestrians and other drivers. The normal driving pattern is that where track surface is smooth and straight without road anomalies. The IPhone placed in the vehicle records data continuously while the car is in motion. The path of the vehicle is as shown in Fig. 3. The track is divided into 3 parts. Part 1: Consisting of smooth surface with a left-turn, Part 2: a straight road without any road anomalies and Part 3: consists of a left-turn and potholes. The original photos of the track are as shown in Fig. 4. The recorded data from accelerometer and gyroscope sensors are plotted and is as shown in Fig. 5 and Fig. 6 The sensory data collected from smart phone placed in a vehicle consists of 163 data points with 6 attributes (3 from accelerometer and 3 from gyroscope) for each data point.

International Journal of Research in Advent Technology, Vol.2, No.4, April 2014 E-ISSN: 2321-9637

3

Fig. 2. Phone position on a vehicle dashboard

Part

Part 2

Part 3

Part 1

Fig. 3. Map of road using GPS coordinates and Google Earth. Road conditions: pothole (Part 3) and plain road

surface (Part 1& Part 2).

The second step of the framework involves applying Parameter-Lite Minimum Spanning Tree PLMST [Bhupathiraju and Vatsavayi (2012)] Clustering algorithm, on the sensory data streams that are obtained from a moving vehicle. The PLMST algorithm in the first phase constructs a minimum spanning tree (MST) with the recorded data points and then the inconsistent edges from MST are deleted

to determine the rough estimate of number of clusters present in the dataset. During the second phase the algorithm the similar clusters are merged together to uncover the distinguishable groups inherently present in the dataset. The results of the proposed system are presented in Table 1.

4. RESULTS AND CONCLUSIONS

The driving pattern evaluation performed by the proposed framework is displayed in Table 1. The results revealed that the prediction of driving maneuvers is accurate for both normal and aggressive driving behaviors as depicted in Fig 7 and Fig. 8.

The driving state predictions of the proposed framework are considered satisfactory for aggressive turns and potholes, whereas the other predictions, such as those of lane changes, drowsy driving etc., are to be tested.

In this paper, the driving patterns were investigated in order to be aware of unusual driving situation, which is helpful while seeking driver safety.

A PLMST algorithm that is applied to classify the driving patterns resulted in precise categorization of different behaviors. The test data were acquired from a smart mobile phone. For better understanding of driving situations, an array of patterns that are related to safety and performance of a driving assistant system, should be classified.

Fig. 4. Original Photos of track surface.

(a) Part 1 (c) Part 3 (with potholes) (a) Part 2

International Journal of Research in Advent Technology, Vol.2, No.4, April 2014 E-ISSN: 2321-9637

4

Fig. 6. Accelerometer Recordings

Fig. 5. Accelerometer Recordings

-0.3

-0.25

-0.2

-0.15

-0.1

-0.05

0

0.05

0.1

0.15

0.2

0.25

1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96 101 106 111 116 121 126 131 136 141 146 151 156 161

Data points

Su

rge

(g

)

-0.4

-0.3

-0.2

-0.1

0

0.1

0.2

0.3

0.4

1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96 101 106 111 116 121 126 131 136 141 146 151 156 161

Data Points

Sw

ay

(g)

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96 101 106 111 116 121 126 131 136 141 146 151 156 161

Data Points

He

ave

(g

)

International Journal of Research in Advent Technology, Vol.2, No.4, April 2014 E-ISSN: 2321-9637

5

Table 1. Clustering results

Data Points Class Index Class Description

1-52 1 Safe Driving (Part1)

53-109 3 Normal Driving (Part 2)

110-163 2 Aggressive Diving and/or track with potholes (Part 3)

Fig. 6. Gyroscope Recordings

-0.06

-0.04

-0.02

0

0.02

0.04

0.06

0.08

0.1

0.12

0.14

1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96 101 106 111 116 121 126 131 136 141 146 151 156 161

Data Points

Ro

ll (r

ad

)

-0.04

-0.02

0

0.02

0.04

0.06

0.08

0.1

0.12

0.14

1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96 101 106 111 116 121 126 131 136 141 146 151 156 161

Data Points

Pitc

h (r

ad

)

-4

-3

-2

-1

0

1

2

3

4

1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96 101 106 111 116 121 126 131 136 141 146 151 156 161

Data Points

Ya

w (

rad

)

International Journal of Research in Advent Technology, Vol.2, No.4, April 2014 E-ISSN: 2321-9637

6

Gyroscope ( Z-Axis) Readings

-4

-3

-2

-1

0

1

2

3

4

1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96 101 106 111 116 121 126 131 136 141 146 151 156 161

Data Points

Ya

w (

rad

)

REFERENCES

[1] Amin S., Andrews, S., S. Apte, J. Arnold, J. Ban, M. Benko, R. M. Bayen, B. Chiou, C. Claudel, C. Claudel, T. Dodson, O. Elhamshary, C. Flens-Batina, M. Gruteser, J.-C. Herrera, R. Herring, B. Hoh, Q. Jacobson, T. Iwuchukwu, J. Lew, X. Litrico, L. Luddington, J. Margulici, A. Mortazavi, X. Pan, T. Rabbani, T. Racine, E. Sherlock-Thomas, D. Sutter, and A. Tinka. (2008). “Mobile century—Using GPS mobile phones as traffic sensors: A field experiment,” in Proc. 15th World Congr.Intell. Transp. Syst., New York, Nov. 2008.

[2] Baldwin KC W. S., Duncan DD, (2004): The driver monitor system: A means of assessing driver performance, Johns Hopkins APL Technical Digest.

[3] Bhupathiraju V. S. Ramakrishnam Raju, Vatsavayi Valli Kumari, (2012) “Parameter-lite clustering algorithm based on MST and fuzzy similarity merging”, In Proceedings of the International Conference on Advances in Computing, Communications and Informatics, pp. 1019-1026, Chennai, India.

[4] Boon-Giin Lee and Wan-Young Chung (2012): A Smartphone-Based Driver Safety Monitoring System Using Data Fusion, Journal Sensors, 12, pp 17537-17552.

[5] Derick A. Johnson and Mohan M. Trivedi. (2011): Driving Style Recognition Using a Smartphone as a Sensor Platform, 14th International IEEE Conference on Intelligent Transportation Systems Washington, DC, pp 1609-1615, USA. October 5-7, 2011

[6] Dillies-Peltier, M.A. (1997): Driver Vigilance Decrease Detection: A Real-Time, Driver Adaptive On-Board System. In Proceedings of 4th World Congress on Intelligent Transport System, Berlin, Germany, 21–24 October 1997.

[7] Ivan G. Daza, Luis M. Bergasa, Sebasti ´ an Bronte, J. Javier Yebes, Javier Almaz ´ an and Roberto Arroyo (2014), Fusion of Optimized Indicators from Advanced Driver Assistance Systems (ADAS) for Driver Drowsiness Detection, Sensors 2014, Vol .14, pp. 1106-1131.

[8] Javier Almazan, Luis M. Bergasa, J. Javier Yebes, Rafael Barea and Roberto Arroyo, Full auto-calibration of a smartphone on board a vehicle using IMU and GPS embedded sensors, (2013) IEEE Intelligent Vehicles Symposium (IV) June 23-26, 2013, Gold Coast, Australia, pp 1374-1380.

[9] Liang, Y.; Reyes, M.L.; Lee, J.D. (2007): Real-Time Detection of Driver Cognitive Distraction Using Support Vector Machines. IEEE Trans. Intell. Transport Syst., 8, pp 340–350.

-0.3

-0.25

-0.2

-0.15

-0.1

-0.05

0

0.05

0.1

0.15

0.2

0.25

1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96 101 106 111 116 121 126 131 136 141 146 151 156 161

Data points

Su

rge (

g)

Indicates Aggressive left and also presence of potholes

Fig. 7 Accelerometer recordings indicating Aggressive left turn and presence of Potholes on the track

Fig. 8 Yaw motion recordings indicating left turns

International Journal of Research in Advent Technology, Vol.2, No.4, April 2014 E-ISSN: 2321-9637

7

[10] Liaw B. Y. (2004): Fuzzy logic based driving pattern recognition for driv ing cycle analysis. Journal of Asian Electric Vehicles, 2 (1), pp 551–556.

[11] Mitrovic D.(2005): Reliable method for driving events recognition, IEEE Transactions on Intelligent Transportation Systems, 6(2), pp 198-205.

[12] Mohamed Fazeen, Brandon Gozick, Ram Dantu, Moiz Bhukhiya, and Marta C. González, (2012): Safe Driving Using Mobile Phones, IEEE Transactions On Intelligent Transportation Systems, 13(1), pp 1462-1468.

[13] Mohan P., Padmanabhan V. N., and Ramjee R. (2008) : Nericell: Rich monitoring of road and traffic conditions using mobile smartphones, in Proc. ACM SenSys, Raleigh, NC, Nov. 2008.

[14] Moreno, C., Gou, M., Boukas, E.K. Laberge-Nadeau, C. (1996): Transparent Drivers Drowsiness Detection: An Approach. In Proceedings of 27th International Symposium on AutomotiveTechnology and Automation, Orlando, FL, USA, 14–18 October 1996.

[15] Wang J., Cho J., Lee S., and Ma T. (2011): Real time services for future cloud computing enabled vehicle networks, in Proc. Int. WCSP Conf., , pp. 1–5, Nov 2011

[16] Wang, J., Zhu, S., Gong, Y. (2010). Driving Safety Monitoring Using Semisupervised Learning on Time Series Data. IEEE Trans. Intell. Transport Syst., 11, pp 728–737.

[17] Yan Wang, Jie Yang, Hongbo Liu, Yingying Chen, Marco Gruteser, Richard P. Martin, (2013) "Sensing Vehicle Dynamics for Determining Driver Phone Use," in Proceedings of the 11th International Conference on Mobile Systems, Applications, and Services (ACM MobiSys 2013), pp 41-54, Taipei, Taiwan.

[18] Yong-Ho Jo, Jeong-Yean Yang, Jae-Chul Kim, and Dong-Soo Kwon. (2013): Classifications of Driving Patterns Using a Supervised Learning Method for Human-Vehicle Interaction, In proceedings of The 1st International Conference on Human-Agent Interaction, August 7-9, Japan.

[19] Zhang Y., Lin W., and Chin Y.-K. (2010): A pattern-recognition approach for driving skill characterization, IEEE Trans. Intell. Transp. Syst., 11 (4), pp. 905–916, Dec. 2010