Real-Time Vehicle Motion Detection and Motion Altering for Connected Vehicle: Algorithm Design and Practical Applications
<p>Overview vision for the vehicle motion detection system (VMDS) and outlines of this study.</p> "> Figure 2
<p>Smart-phone parallel mounted tightly in a vehicle.</p> "> Figure 3
<p>Dikablis Pro eye-tracker (<b>a</b>) and D-Lab software user interface (<b>b</b>).</p> "> Figure 4
<p>Driving simulator experiment with Wi-Fi Direct (<b>a</b>) inside view (<b>b</b>) and outside view (<b>c</b>).</p> "> Figure 5
<p>Real-time detecting matrix.</p> "> Figure 6
<p>Schema of fast optimal wavelet basis (OWB) algorithm.</p> "> Figure 7
<p>Patterns of brake, angular speed (<b>a</b>); acceleration (<b>b</b>).</p> "> Figure 8
<p>Patterns of lane change and turning, angular speed (<b>a</b>); acceleration (<b>b</b>).</p> "> Figure 9
<p>Pattern of lane-change (<b>a</b>) and turning (<b>b</b>).</p> "> Figure 10
<p>Detection with mobile parallel mounted (<b>a</b>) vs. catty-cornered mounted (<b>b</b>).</p> "> Figure 11
<p>Lane-changes detected time (overall).</p> "> Figure 12
<p>Real-time lane changes recorded by gyroscopes on urban road (<b>left</b>) and highway (<b>right</b>).</p> "> Figure 13
<p>Real-time lane-changes detected accuracy with different speed on urban road and highway.</p> "> Figure 14
<p>Motion detection for vehicle merging at highway on-ramps (<b>a</b>) /off-ramps (<b>c</b>) and urban on-ramps (<b>d</b>)/off-ramps (<b>b</b>).</p> "> Figure 15
<p>Real-time turning recorded by gyroscopes on urban road (<b>left</b>) and highway (<b>right</b>).</p> "> Figure 16
<p>Real-time turning detected time (overall)</p> "> Figure 17
<p>Real-time turning detected accuracy with different speed on urban road and highway.</p> "> Figure 18
<p>Real-time turning detected accuracy with different road conditions on highway.</p> "> Figure 19
<p>Acceleration detected error being performed with speed.</p> "> Figure 20
<p>Deceleration and braking detected error being performed with speed.</p> "> Figure 21
<p>Relative position detection of different roads.</p> "> Figure 22
<p>Average pupil size change with time.</p> ">
Abstract
:1. Introduction
1.1. Lane Changing and Turning Detection
1.2. Detection of Acceleration and Deceleration/Brakes
- Real-timely detect lane changing, turning (curve and intersection), and acceleration using inertial measurement unit (IMU) sensors-gyroscopes embedded in smartphones. A dynamic time warping based algorithm combined with PCA is proposed as the core algorithm for this purpose.
- Real-time detection is applied to capture vehicle motion parameters in terms of acceleration, deceleration, and brakes using accelerometers embedded in mobile phones. Accelerometers can be a good candidate to estimate such vehicle motions.
- Develop a real-time vehicle motion detection system (VMDS), which can detect the ego vehicle’s motion and share the motion information with front-and-back vehicles, and even alert the drivers in front-and-back vehicles of the motion via Wi-Fi Direct. The use of VMDS is practiced and evaluated in a real test-bed based on Android phones.
- Using a driving simulator to evaluate how much time was gained for the drivers in the adjacent front-or-back vehicles to choose a safety operational in a connected vehicle environment.
2. Experimental Setup and Dataset
2.1. Data Collection by the Android Phone
2.2. Distracted Driving and Safety
- Back car accelerating;
- Front car changing lane;
- Front car turning;
- Front car braking.
2.3. Datasets
3. Real-Time Vehicle Motion Detection System (VMDS)
3.1. Figures, Tables and Schemes
3.2. Data Noise Smoothing
Algorithm 1: Fast Optimal Wavelet Basis (OWB) Extraction |
Step 1. Select as the largest levels No. for wavelet packet (WP) dissolution Step 2. If the current level () of dissolution is smaller than . Execute 2.1–2.4 to every existent parent-node (sub-band) . Step 2.1 Calculate Shannon entropy of sub-band as the cost function. Step 2.2 Divide into 4 sub-bands (children-nodes: ,, and ). Calculate their Shannon entropy: ,, and . Step 2.3 If is true, keep the parent node and delete the children-nodes. If it is false, keep both the parent- nodes and children-nodes. Step 2.4 If no nodes are available to divide, end for extracting the OWB. |
3.3. Design of Detection Matrix
Algorithm 2: Pseudo-code of the algorithm for forming principle components. |
DTW (A, G) { // where the vectors A = (a1, …, an), G = (g1, …, gm) are the time series data collected from accelerometer and gyroscope with n and m data points, respectively. Define M [0, …, n, 0, …, m] as a two-dimensional data matrix. It stores the similarity measures between two time series. / / Data matrix initialization M [0, 0]: = 0 For i = 0 to m Step 1 Do: M [0, i]: = Infinity End For i: = 1 to n Step 1 Do: M [i, 0]: = Infinity End // Compute the similarity measures between the two time series and store them in M [n,m] For i :=1 to n Step 1 Do: For j : =1 to m Step 1 Do: // Evaluate the similarity of the two points diff := M [i, j] := diff +Min (M[i-1, j], M [i, j-1], M [i-1, j-1]) End End Return M [n, m] } |
3.4. Distracting Driving Evaluation
4. Results and Discussion
4.1. Lane-Change and Turning Detection
- When and how accurate the lane-change and turning can be detected?
- Is there a significant influence in lane-change and turning detecting between urban road and highway?
- Is there a significant influence in lane-change and turning detection at a different speed?
4.2. Motion Detection with Accelerometers
4.2.1. Acceleration Detection
4.2.2. Deceleration and Brakes Detection
4.3. Relative Position Detection
4.4. Driving Safety and Distraction
5. Conclusion and Future Work
Author Contributions
Funding
Conflicts of Interest
References
- Schroeder, P.; Meyers, M.; Kostyniuk, L. National Survey on Distracted Driving Attitudes and Behaviors-2012; NHTSA: Washington, DC, USA, 2013. [Google Scholar]
- National Highway Traffic Safety Administration. Distracted Driving 2013; NHTSA: Washington, DC, USA, 2015.
- Johri, R.; Rao, J.; Yu, H.; Zhang, H. A multi-scale spatiotemporal perspective of connected and automated vehicles: Applications and wireless networking. IEEE Intell. Transp. Syst. Mag. 2016, 8, 65–73. [Google Scholar] [CrossRef]
- Lane, N.D.; Miluzzu, E.; Lu, H.; Peebles, D.; Choudury, T.; Campbell, A.T. A survey of mobile phone sensing. IEEE Commun. Mag. 2010, 48, 140–150. [Google Scholar] [CrossRef]
- Herrera, J.C.; Work, D.B.; Herring, R.; Ban, X.G.; Jacobson, Q.; Bayen, A.M. Evaluation of traffic data obtained via GPS-enabled mobile phones: The mobile century, field experiment. Transp. Res. Part C Emerg. Technol. 2009, 18, 568–583. [Google Scholar] [CrossRef]
- Dai, J.P.; Teng, J.; Bai, X.L.; Shen, Z.H.; Xuan, D. Mobile phone based drunk driving detection. In Proceedings of the 2010 4th International Conference on Pervasive Computing Technologies for Healthcare, Munich, Germany, 22–25 March 2010; pp. 1–8. [Google Scholar]
- Mantouka, E.G.; Barmpounakis, E.N.; Vlahogianni, E.I. Mobile sensing and machine learning for identifying driving safety profiles. In Proceedings of the Transportation Research Board 97th Annual Meeting, Washington, DC, USA, 1–7 January 2018. [Google Scholar]
- Papadimitriou, E.; Argyropoulou, A.; Tselentis, D.I.; Yannis, G. Analysis of driver behavior through smartphone data: The case of mobile phone use while driving. In Proceedings of the Transportation Research Board 97th Annual Meeting, Washington, DC, USA, 7–11 January 2018. [Google Scholar]
- Kanarachos, S.; Christopoulos, S.R.G.; Chroneos, A. Smartphones as an integrated platform for monitoring driver behaviour: The role of sensor fusion and connectivity. Transp. Res. Part C Emerg. Technol. 2018, 95, 867–882. [Google Scholar] [CrossRef]
- Kang, L.; Banerjee, S. Practical driving analytics with smartphone sensors. In Proceedings of the 2017 IEEE Vehicular Networking Conference, Torino, Italy, 27–29 November 2017. [Google Scholar]
- Fazeen, M.; Gozick, B.; Dantu, R.; Bhukhiya, M.; González, M.C. Safe driving using mobile phones. IEEE Trans. Intell. Transp. Syst. 2012, 13, 1462–1468. [Google Scholar] [CrossRef]
- Bruwer, F.J.; Booysen, M.J. Comparison of GPS and MEMS support for smartphone-based driver behavior monitoring. In Proceedings of the IEEE Symposium Series on Computational Intelligence, SSCI, Cape Town, South Africa, 7–10 December 2015; pp. 434–441. [Google Scholar]
- Zhao, W.; Xu, L.; Bai, J.; Ji, M.; Runge, T. Sensor-based risk perception ability network design for drivers in snow and ice environmental freeway: A deep learning and rough sets approach. Soft Comput. 2018, 22, 1457–1466. [Google Scholar] [CrossRef]
- Gunawan, F.E.; Soewito, B. A vibratory-based method for road damage classification. In Proceedings of the International Seminar on Intelligent Technology & Its Applications, Surabaya, Indonesia, 20–21 May 2015; pp. 1–4. [Google Scholar]
- Dang-Nhac, L.; Duc-Nhan, N.; Thi-Hau, N.; Ha-Nam, N. Vehicle mode and driving activity detection based on analyzing sensor data of smartphones. Sensors 2018, 18, 1036. [Google Scholar]
- Aly, H.; Basalamah, A.; Youssef, M. Robust and ubiquitous smartphone-based lane detection. Pervasive Mob. Comput. 2016, 26, 35–56. [Google Scholar] [CrossRef]
- Ren, F.X.; Huang, J.S.; Terauchi, M.; Jiang, R.Y.; Klette, R. Lane detection on the iPhone. In Arts & Technology; Springer: Berlin/Heidelberg, Germany, 2009; pp. 198–205. [Google Scholar]
- Chanawangsa, P.; Chen, C.W. A new smartphone lane detection system: Realizing true potential of multi-core mobile devices. In Proceedings of the Workshop on Mobile Video, Chapel Hill, NC, USA, 24 February 2012; pp. 19–24. [Google Scholar]
- Moussa, G.; Radwan, E.; Hussain, K. Augmented reality vehicle system: Left-turn maneuver study. Transp. Res. Part C Emerg. Technol. 2012, 21, 1–16. [Google Scholar] [CrossRef]
- Fitzpatrick, K.; Wolff, T. Left-turn lane installation guidelines. In Proceedings of the 2nd Urban Street Symposium: Uptown, Downtown, or Small Town: Designing Urban Streets That Work, Anaheim, CA, USA, 28–30 July 2003. [Google Scholar]
- Boyraz, P.; Acar, M.; Kerr, D. Signal modelling and hidden markov models for driving manoeuvre recognition and driver fault diagnosis in an urban road scenario. In Proceedings of the IEEE Intelligent Vehicles Symposium, Istanbul, Turkey, 13–15 June 2007. [Google Scholar]
- Liu, P.; Kurt, A.; Ozguner, U. Trajectory prediction of a lane changing vehicle based on driver behavior estimation and classification. In Proceedings of the 2014 IEEE 17th International Conference on Intelligent Transportation Systems (ITSC), Qingdao, China, 8–11 October 2014; pp. 942–947. [Google Scholar]
- Li, G.; Li, S.E.; Liao, Y.; Wang, W.; Cheng, B.; Chen, F. Lane change maneuver recognition via vehicle state and driver operation signals results from naturalistic driving data. In Proceedings of the Intelligent Vehicles Symposium (IV), Seoul, Korea, 28 June–1 July 2015; IEEE: Piscatway, NJ, USA, 2015; pp. 865–870. [Google Scholar]
- Aoude, G.S.; How, J.P. Using Support Vector Machines and Bayesian Filtering for Classifying Agent Intentions at Road Intersections; ACL09-02; Dspace@MIT: Cambridge, MA, USA, 2009. [Google Scholar]
- Zheng, J.; Suzuki, K.; Fujita, M. Predicting drivers lane-changing decisions using a neural network model. Simul. Model. Pract. Theory 2014, 42, 73–83. [Google Scholar] [CrossRef]
- Zhao, W.; Xu, L.; Xi, S.; Wang, J.; Runge, T. A sensor-based visual effect evaluation of chevron alignment signs’ colors on drivers through the curves in snow and ice environment. J. Sens. 2017. [Google Scholar] [CrossRef]
- Hao, P.; Ban, X.G.; Yu, J.W. Kinematic equation-based vehicle queue location estimation method for signalized intersections using mobile sensor data. J. Intell. Transp. Syst. 2015, 19, 256–272. [Google Scholar] [CrossRef]
- Zhu, Y.; Comaniciu, D.; Pellkofer, M.; Koehler, T. Reliable detection of overtaking vehicles using robust information fusion. IEEE Trans. Intell. Transp. Syst. 2007, 7, 401–414. [Google Scholar] [CrossRef]
- Bottero, M.; Chiara, B.D.; Deflorio, F.P. Wireless sensor networks for traffic monitoring in a logistic centre. Transp. Res. Part C Emerg. Technol. 2014, 26, 99–124. [Google Scholar] [CrossRef]
- Lefèvre, S.; Vasquez, D.; Laugier, C. A survey on motion prediction and risk assessment for intelligent vehicles. ROBOMECH J. 2014, 1, 1–14. [Google Scholar] [CrossRef]
- Kassem, N.; Kosba, A.E.; Youssef, M. RF-based vehicle detection and speed estimation. In Proceedings of the IEEE Vehicular Technology Conference, Yokohama, Japan, 6–9 May 2012; pp. 1–5. [Google Scholar]
- Li, F.; Zhang, H.; Che, H.; Qiu, X.C. Dangerous driving behavior detection using smartphone sensors. In Proceedings of the IEEE International Conference on Intelligent Transportation Systems, Rio de Janeiro, Brazil, 1–4 November 2016; pp. 1902–1907. [Google Scholar]
- Chen, D.; Cho, K.T.; Han, S.; Jin, Z.; Shin, K.G. Invisible sensing of vehicle steering with smartphones. In Proceedings of the 13th Annual International Conference, Florence, Italy, 18–22 May 2015; ACM: New York, NY, USA, 2015; pp. 1–13. [Google Scholar]
- You, C.; Lane, N.D.; Chen, F.; Wang, R.; Chen, Z.; Bao, T.J.; Montes-de-Oca, M.; Cheng, Y.; Lin, M.; Torresani, L.; et al. Carsafe app: Alerting drowsy and distracted drivers using dual cameras on smartphones. In Proceedings of the International Conference on Mobile Systems, Taipei, Taiwan, 25–28 June 2013; ACM: New York, NY, USA, 2013; pp. 13–26. [Google Scholar]
- Qi, B.; Liu, P.; Ji, T.; Zhao, W.; Banerjee, S. DrivAid: Augmenting driving analytics with multi-modal information. In Proceedings of the 2018 IEEE Vehicular Networking Conference (VNC), Taipei, Taiwan, 5–7 December 2018; pp. 1–8. [Google Scholar]
- Zhou, P.; Li, M.; Shen, G. Use it free: Instantly knowing your phone attitude. In Proceedings of the International Conference on Mobile Computing & Networking, Maui, HI, USA, 7–11 September 2014; ACM: New York, NY, USA, 2014; pp. 605–616. [Google Scholar]
- Proudfoot, J.G.; Jenkins, J.L.; Burgoon, J.K.; Nunamaker, J.F. Deception is in the eye of the communicator: Investigating pupil diameter variations in automated deception detection interviews. In Proceedings of the IEEE International Conference on Intelligence & Security Informatics, Baltimore, MD, USA, 27–29 May 2015; pp. 97–102. [Google Scholar]
- Kaur, L.; Gupta, S.; Chauhan, R.C.; Saxena, S.C. Medical ultrasound image compression using joint optimization of thresholding quantization and best-basis selection of wavelet packets. Digit. Signal Process. 2017, 17, 189–198. [Google Scholar] [CrossRef]
- Nitsche, P.; Widhalm, P.; Breuss, S.; Brändle, N.; Maurer, P. Supporting large-scale travel surveys with smartphones—A practical approach. Transp. Res. Part C Emerg. Technol. 2014, 43, 212–221. [Google Scholar] [CrossRef]
- Eftekhari, H.R.; Ghatee, M. An inference engine for smartphones to preprocess data and detect stationary and transportation modes. Transp. Res. Part C Emerg. Technol. 2016, 69, 313–327. [Google Scholar] [CrossRef]
- Hao, Y.; Xu, L.; Qi, B.; Wang, T.; Zhao, W. A Machine Learning Approach for Highway Intersection Risk Caused by Harmful Lane-Changing Behaviors. In Proceedings of the CICTP 2019, Nanjing, China, 6–8 July 2019; pp. 5623–5635. [Google Scholar]
- Zhao, W.; Xu, L.; Dong, Z.S.; Qi, B.; Qin, L. Improving transfer feasibility for older travelers inside high-speed train station. Transp. Res. Part A Policy Pract. 2018, 113, 302–317. [Google Scholar] [CrossRef]
- Signal Processing Toolbox. Machine Learning and Deep Learning. Available online: https://www.mathworks.com /help/signal/ref/dtw.html (accessed on 8 August 2019).
- Cui, L.; Hu, J.; Park, B.B.; Bujanovic, P. Development of a simulation platform for safety impact analysis considering vehicle dynamics, sensor errors, and communication latencies: Assessing cooperative adaptive cruise control under cyber attack. Transp. Res. Part C Emerg. Technol. 2018, 97, 1–22. [Google Scholar] [CrossRef]
- Salvucci, D.D.; Mandalia, H.M.; Kuge, N.; Yamamura, T. Lane-change detection using a computational driver model. Hum. Factors J. Hum. Factors Ergon. Soc. 2007, 49, 532–542. [Google Scholar] [CrossRef] [PubMed]
Road Type | Gyroscopes | Accelerometers | GPS | Video (Ground Truth) |
---|---|---|---|---|
Urban Road | Dataset 1.1 | Dataset 2.1 | Dataset 3.1 | Dataset 4.1 |
Highway | Dataset 1.2 | Dataset 2.2 | Dataset 3.2 | Dataset 4.2 |
Scenarios | Highway | Urban | ||
---|---|---|---|---|
On-ramp | Off-ramp | On-ramp | Off-ramp | |
Speed (m/s) | 18–33 | 29–12 | 2–17 | 19–7 |
Accuracy (%) | 71.8 | 69.1 | 52.6 | 80.3 |
Fixation Duration (Second) | Pupil Size (Pixel) | |||
---|---|---|---|---|
AVG | SD | AVG | SD | |
Without VMDS | 0.334 | 0.274 | 31.255 | 1.371 |
With VMDS | 0.543 | 0.438 | 39.276 | 2.196 |
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhao, W.; Yin, J.; Wang, X.; Hu, J.; Qi, B.; Runge, T. Real-Time Vehicle Motion Detection and Motion Altering for Connected Vehicle: Algorithm Design and Practical Applications. Sensors 2019, 19, 4108. https://doi.org/10.3390/s19194108
Zhao W, Yin J, Wang X, Hu J, Qi B, Runge T. Real-Time Vehicle Motion Detection and Motion Altering for Connected Vehicle: Algorithm Design and Practical Applications. Sensors. 2019; 19(19):4108. https://doi.org/10.3390/s19194108
Chicago/Turabian StyleZhao, Wei, Jiateng Yin, Xiaohan Wang, Jia Hu, Bozhao Qi, and Troy Runge. 2019. "Real-Time Vehicle Motion Detection and Motion Altering for Connected Vehicle: Algorithm Design and Practical Applications" Sensors 19, no. 19: 4108. https://doi.org/10.3390/s19194108
APA StyleZhao, W., Yin, J., Wang, X., Hu, J., Qi, B., & Runge, T. (2019). Real-Time Vehicle Motion Detection and Motion Altering for Connected Vehicle: Algorithm Design and Practical Applications. Sensors, 19(19), 4108. https://doi.org/10.3390/s19194108