Traffic Lane Change Detection using smartphone sensors and GPS

Document Type : Research Article


1 Department of Civil and Environmental Engineering, Amirkabir University of Technology, Tehran, Iran

2 Department of Computer Engineering, Amirkabir University of Technology, Tehran, Iran


Driver behavior is a critical factor in traffic safety. Detecting abnormal driver behaviors through appropriate indicators and enforcing driving regulations will reduce high-risk driving behaviors and increase traffic safety. Detecting dangerous driver behavior is beneficial for developing warning systems and preventing accidents. Some high-risk driving behaviors, such as sudden lane changes, are dependent on determining the movement direction of the vehicle which has not received enough attention. The objective of this study is to determine the direction of movement of the vehicle and lane changes, using the sensors in the smartphone mounted on a vehicle. To achieve this goal, first, by using the Samsung Galaxy S6 smartphone and an accurate Global Positioning System (GPS), longitudinal and angular accelerometer data and GPS data are sampled as a dataset and combined by different types of neural networks. Then, combined data is fed into a suggested neural network and lane changes are detected. Finally, the GPS data is used as the ground truth for the training of the neural network. If the GPS is not accessible, this neural network, just by receiving smartphone accelerometer data, can estimate the vehicle's direction of movement with an accuracy of 0.5 to 4.8 meters compared to the ground truth up to 8 seconds after the GPS is shut down. Using the vehicle travel path, an algorithm is proposed that can correctly detect the change of driving lane in the sample data set with 94% accuracy, 93.62% precision, 88.00% recall, and F1-score 90.72% which are acceptable values.


Main Subjects