Minorproject2 Report
Minorproject2 Report
of
Electronics and Communication Engineering
By:
1. Amogh 01FE21BEC122
2. Akhilesh 01FE21BEC258
3. Bhushan 01FE21BEC312
4. Vinayak 01FE21BEC169
CERTIFICATE
This is to certify that project entitled “SmartRoute: Adaptive Driver Review Sys-
tem for Optimal Passenger Experience” is a bonafide work carried out by the stu-
dent team of “Amogh (01FE21BEC122), Akhilesh (01FE21BEC258), Bhushan
(01FE21BEC312), Vinayak (01FE21BEC169)”. The project report has been ap-
proved as it satisfies the requirements with respect to the mini project work prescribed
by the university curriculum for BE (VI Semester) in School of Electronics and Commu-
nication Engineering of KLE Technological University for the academic year 2023-2024
External Viva:
1.
2.
ACKNOWLEDGMENT
We would like to express our sincere gratitude to all the people who have assisted us in the
completion of this project. All their contributions are deeply appreciated and acknowledged. We
would like to place on record our deep sense of gratitude to Suneetha Budihal, Professor and Head
of the Department of the School of Electronics and Communication for having the opportunity
to extend our skills in the direction of this project. We express our heartfelt gratitude to our
guide Ujwala Patil, and our Mentors whose valuable insights proved to be vital in contributing
to the success of this project
By:
Project Team
ABSTRACT
This report presents the development of an Intelligent Driver Review System designed to dynam-
ically suggest optimal routes based on real-time traffic conditions and monitor driver behavior
to ensure passenger comfort and safety. The system utilizes raw GPS data to plot paths and
employs a traffic algorithm to estimate traffic probabilities for each route. Dijkstra’s Algorithm
is then used to determine the shortest path. Additionally, data from brake and accelerator pedal
usage is collected for each trip. An overall benchmark is established for driver performance, and
ratings are provided based on this data, reflecting the quality of driving relative to the bench-
mark. These reviews are valuable for enhancing passenger safety and comfort in ride-hailing
services, informing the insurance industry, and aiding in driving license tests. Dijkstra’s Algo-
rithm, a graph search algorithm, finds the shortest path from a source node to a target node by
exploring nodes in order of increasing distance from the source.
Contents
1 Introduction 8
1.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.2 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.3 Literature survey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.4 Problem statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.5 Application in Societal Context . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.5.1 Improved Transportation Efficiency . . . . . . . . . . . . . . . . . . . . . 10
1.5.2 Enhanced Safety . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.5.3 Environmental Sustainability . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.5.4 Economic Benefits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.5.5 Enhanced User Experience . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.5.6 Data-Driven Urban Planning . . . . . . . . . . . . . . . . . . . . . . . . . 10
2 System design 11
2.1 Design Alternatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.1.1 Design 1: Integrated Real-Time Monitoring and Navigation System . . . 11
2.1.2 Design 2: Modular Driver Assistance and Review System . . . . . . . . . 11
2.1.3 Design 3: AI-Powered Smart Driving Assistant . . . . . . . . . . . . . . . 12
2.1.4 Comparison of Designs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.2 Proposed design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3 Implementation details 14
3.1 Specifications of Proposed Model . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.2 Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.3 Proposed Model for Driver review and route optimisation . . . . . . . . . . . . . 16
5
List of Figures
6
Chapter 1
Introduction
In today’s fast-paced world, efficient and safe transportation is crucial, especially in urban en-
vironments where traffic congestion and unpredictable driving behaviors can significantly affect
travel times and passenger comfort. Addressing this challenge, this project seeks to develop
an intelligent driver review system that dynamically recommends optimal routes based on real-
time traffic conditions while continuously monitoring driver behavior to ensure passenger comfort
and safety. By integrating advanced technologies such as GPS tracking, real-time traffic data,
machine learning, and adaptive comfort models, the system aims to enhance the navigation
experience for both drivers and passengers.
1.1 Motivation
The motivation behind developing an Intelligent Driver Review System stems from the increasing
reliance on ride-hailing services in today’s urban landscape. With over 3.2 billion trips in
2023 and a projected 15% increase by 2025, the demand for efficient, safe, and comfortable
transportation solutions is at an all-time high. This surge in ride-hailing usage brings significant
challenges, including traffic congestion, unpredictable road conditions, and inconsistent driver
behaviors, which directly impact passenger satisfaction and safety.
Statistics highlight that over 80% of passengers prioritize safety and comfort, and nearly 70%
consider route efficiency crucial when selecting ride-hailing services. Despite these preferences,
many passengers still experience discomfort due to abrupt accelerations, harsh braking, and un-
familiar routes. Addressing these issues is vital for improving the overall ride-hailing experience
and ensuring customer retention.
1.2 Objectives
• Develop an algorithm to determine the shortest and least congested routes between spec-
ified start and destination points.
• Create a comprehensive review system to provide feedback to drivers based on their route
selections and driving behavior.
7
1.3 Literature survey
In the field of Intelligent Transportation Systems and driver analysis, three pivotal research
papers offer substantial methodologies and insights that significantly contribute to improving
driver safety, efficiency, and comprehensive accident analysis. The first paper, ”Machine Learn-
ing Algorithm for Driver Rating” (2022), explores the utilization of smartphone sensors such as
gyroscopes and accelerometers to detect driving events and analyze facial expressions. It intro-
duces a machine learning algorithm that evaluates driver behavior by analyzing data on speed
changes, braking, horn usage, gear changes, and steering angles. This algorithm uses a dataset
of driving parameters to accurately rate drivers based on their habits and decisions, aiming to
enhance driver monitoring, disciplinary actions, and incentive programs.
The second paper, ”Advanced Vehicle Telematics Analysis for Enhanced Safety and Ef-
ficiency” (2019), highlights the role of vehicle telematics in improving transportation safety,
efficiency, and sustainability. By analyzing data from accelerometers, GPS, and engine diag-
nostics, it examines driver behavior, fuel efficiency, and gear detection. Techniques like Kernel
Density Estimation and Jenks Natural Breaks are employed to visualize gear ratios and shift
points, optimizing engine performance and fuel efficiency. Key findings indicate that maintain-
ing moderate engine loads and avoiding excessive RPMs enhance fuel efficiency, while optimal
highway speeds reduce carbon emissions. The study offers strategies for detecting gear shifts
and promoting safer and more efficient driving practices.
The third paper, ”Integrating Multi-Source Data and Advanced Analytics for Comprehensive
Traffic Accident Analysis: Insights from the Trafficalmr Project” (2022), integrates data from
traffic accident reports, sensor data, and geographic information systems (GIS) to analyze traffic
accident patterns comprehensively. It employs statistical and machine learning models, including
Generalized Linear Models (GLMs), Kernel Density Estimation (KDE), and clustering methods
like K-means. Machine learning models such as Random Forests and Support Vector Machines
(SVMs) are used for feature importance analysis and classification tasks. The project also
utilizes time series analysis to forecast accident rates and visualize data intersections with UpSet
plots. The findings reveal detailed insights into cycling activity patterns, accident hotspots, and
the effectiveness of safety interventions, informing future infrastructure planning and safety
measures.
These studies collectively provide robust methodologies for leveraging sensor data, machine
learning algorithms, and advanced analytics to enhance driver safety, efficiency, and traffic ac-
cident analysis. Their contributions are instrumental in developing smarter, safer, and more
efficient transportation systems.
System design
In this chapter, we will be looking towards the functional block diagram, the design alternatives
and also about the final design which is being implemented.
• Real-Time Traffic Data Integration: Utilize APIs from traffic data providers to gather
up-to-date information.
• Route Optimization Algorithm: Implement machine learning algorithms to dynami-
cally suggest optimal routes.
• Driver Behavior Monitoring: Employ sensors and cameras within the vehicle to mon-
itor driving habits, including speed, braking, and acceleration.
• Passenger Feedback System: Install an interface for passengers to rate their comfort
and safety.
Features:
• Adaptive Routing: Continuously update the suggested route based on live traffic con-
ditions.
• Driver Scoring System: Calculate a driver score based on their driving behavior and
passenger feedback.
• Alerts and Notifications: Provide real-time alerts to drivers about traffic conditions
and safety warnings.
• Data Analytics Dashboard: Offer a dashboard for fleet managers to analyze driver
performance and passenger feedback.
10
• Modular Sensors: Install a variety of sensors (e.g., GPS, accelerometers, gyroscopes)
to gather data on driving conditions.
• Behavior Analysis Module: Develop a module to analyze driving behavior in real-
time.
• Comfort Assessment Module: Use machine learning models to predict passenger com-
fort based on sensor data.
• Communication Interface: Enable communication between the system and drivers/passengers
via a mobile app.
Features:
• Plug-and-Play Modules: Allow the system to be easily installed in any vehicle by using
modular components.
• Predictive Analytics: Use historical data to predict traffic patterns and suggest alter-
native routes.
• Comfort Metrics: Measure and report on factors such as smoothness of ride, abrupt
stops, and sharp turns.
• Driver Feedback Loop: Provide drivers with periodic reports on their performance and
areas for improvement.
Features:
• Personalized Routing: Tailor route suggestions based on individual driver patterns and
preferences.
• Real-Time Behavior Correction: Provide immediate feedback to drivers to correct
unsafe behaviors.
• Comfort Alerts: Notify drivers of actions that are reducing passenger comfort, such as
sudden lane changes.
• Data Integration: Combine data from various sources (traffic, weather, vehicle sensors)
to enhance route optimization and safety.
Implementation details
In this chapter,The implementation details involves using real-time driver behaviour data and current
conditions to estimate traffic levels on various routes.
13
3.2 Algorithm
The algorithm for the GPS navigation system with route optimization involves several key
steps. It starts by loading the raw GPS dataset and plotting the paths on the map. The traffic
algorithm then factors in real-time traffic data to identify the most efficient routes. Dijkstra’s
algorithm is applied to find the shortest path with low traffic. The system allows for setting
passenger comfort levels, which are used to adjust the route for optimal comfort. Additionally,
the system analyzes hard acceleration events to generate a review, helping to improve passenger
comfort and identify risky driving behaviors.
Algorithm
1: Initialisation:
2: raw gps data ← load gps data()
3: map ← initialize map()
4: comf ort level ← set comf ort level()
5: Processing:
6: paths ← P lotP athsOnM ap(raw gps data, map)
7: traf f ic data ← f etch traf f ic data()
8: optimized paths ← T raf f icAlgorithm(paths, traf f ic data)
9: shortest path ← Dijkstra(optimized paths)
10: comf ort optimized path ← AdjustF orComf ort(shortest path, comf ort level)
11: Analysis and Review:
12: hard acceleration events ← DetectHardAcceleration(comf ort optimized path)
13: review ← GenerateReview(comf ort optimized path, hard acceleration events)
14: Output:
15: DisplayP ath(comf ort optimized path, review)
3.3 Proposed Model for Driver review and route op-
timisation
The proposed model is designed to enhance the efficiency and safety of vehicular navigation
through a systematic approach leveraging GPS data and advanced algorithms. The model
begins by loading GPS data and initializing a detailed map of the area of interest, allowing
for accurate path plotting based on the GPS coordinates. It then integrates real-time traffic
data, optimizing the path using a sophisticated traffic algorithm to ensure minimal congestion.
To determine the most efficient route, Dijkstra’s algorithm is employed, which calculates the
shortest path while considering traffic conditions. Additionally, the model includes a component
for detecting hard acceleration events by analyzing accelerometer data, identifying potential
risky driving behaviors. The collected data is processed to generate a composite score for each
driver, incorporating factors such as path optimization and driving events, and producing a
comprehensive driver rating. This rating is displayed alongside the optimized path, providing
a clear overview of the journey and driving performance. The combination of these elements
results in a robust system that not only improves route planning but also promotes safer driving
practices.
Chapter 4
Results and discussions
In this chapter, The system effectively optimizes routes, reduced travel times, and improved driver performance,
enhancing both passenger safety and comfort.
4.1 Datasets
The dataset for this project consists of telematics data collected from real-world driving sce-
narios. Encompassing 86 trips across a four-month period from approximately 30 four-wheeled
vehicles, the data offers insights into vehicle dynamics and driver behavior. It includes essential
parameters like trip ID, device ID, timestamps, accelerometer readings (x, y, and z axes), GPS-
derived speed, fuel efficiency, mass airflow, engine RPM, throttle position, magnetometer data,
and calculated metrics like total acceleration, hard braking events, and angular acceleration.
Notably, the data acquisition frequency varies between sensors. Accelerometer data is collected
at a high frequency of 25Hz, capturing detailed vehicle movements, while OBD data is recorded
at a slower rate of 1Hz, providing broader vehicle health information. This rich dataset serves
as the foundation for analyzing driving patterns, identifying risky behaviors, and ultimately
improving driving safety and efficiency.
• Traffic Data Module: Integrates real-time traffic information from various sources.
16
2. Processing and Analysis Layer
• Map Plotting Module: Converts raw GPS data into visual paths using Geographic
Information System (GIS).
• Traffic Algorithm Module: Utilizes dynamic probability models to predict traffic con-
ditions and adjust route probabilities.
• Path and Review Display Module: Presents optimized paths and reviews on the user
interface for user consideration.
The provided images depict the visualization of an intelligent driver review system imple-
mented in a Google Colab notebook, designed to dynamically suggest optimal routes based on
traffic conditions while monitoring driver behavior to ensure passenger comfort and safety. The
maps highlight multiple paths with varying traffic levels, where Path 2 (2.24 km) shows low
traffic (green), and Path 3 (3.89 km) displays sections of low (green), medium (yellow), and
high (red) traffic. The second image further shows the script generating the map, with Path 4
(4.26 km) also displaying varied traffic conditions and the shortest path marked as ”trace 83”.
Specific regions around Hubballi, such as Dyananagar and Sirur Park, are highlighted, demon-
strating the system’s route suggestions and traffic analysis. This comprehensive visualization
integrates real-time traffic data and advanced algorithms to enhance overall safety and comfort
by providing valuable insights and route recommendations.
The provided images depict the visualization of an intelligent driver review system that
suggests optimal routes based on traffic conditions. Notably, the green path, representing Path
2, spans 2.24 km, making it the shortest and least congested route compared to other paths. The
green path indicates low traffic levels, suggesting smooth and efficient traversal for vehicles. As
vehicles traverse along this path, they experience minimal delays and a more comfortable ride
due to reduced congestion. This route is particularly beneficial for minimizing travel time and
enhancing passenger comfort and safety, as the system continuously monitors real-time traffic
conditions to ensure optimal driving performance. The visualization highlights specific regions
around Hubballi, such as Dyananagar and Sirur Park, demonstrating how the system effectively
navigates through these areas using the least congested, most efficient routes available.
Table Details:
• Column Headers:
The provided data showcases a detailed analysis of a driver’s performance using device ID
12. The table lists individual trip IDs, composite scores, and corresponding driver ratings,
indicating that the driver is generally rated as ”Good Driver” with an overall composite score of
7.674962. However, there are variations in ratings across different trips, with some being labeled
as ”Average Driver” and ”Bad Driver.” The accompanying graph titled ”Hard Braking Detection
for Device 12” illustrates the driver’s braking behavior by plotting total acceleration over time
and marking hard braking events with red dots. This combination of tabular and graphical data
helps in understanding and evaluating the driver’s performance and driving habits.
Chapter 5
5.1 Conclusion
The implementation of the GPS navigation system with integrated route optimization and pas-
senger comfort adjustment has demonstrated significant improvements in driving safety and
efficiency. By combining real-time data processing, sophisticated algorithms like Dijkstra’s,
and user-defined comfort preferences, the system ensures optimal route selection and enhanced
passenger experience. The use of telematics data to monitor driving behavior further aids in
identifying risky behavior
21
Bibliography
[1] G. A. M. Meiring and H. C. Myburgh, “A review of intelligent driving style analysis systems
and related artificial intelligence algorithms,” Sensors (Switzerland), vol. 15, no. 12, 2015.
[2] D. Braun, E. Reiter, and A. Siddharthan, “Creating Textual Driver Feedback from Tele-
metric Data,” in Proceedings of the 15th European Workshop on Natural Language Generation
(ENLG), 2015, pp. 156– 165.
[3] J. Wahlström, I. Skog, and P. Händel, “Driving Behavior Analysis for Smartphone-based
Insurance Telematics,” in Proceedings of the 2nd workshop on Workshop on PhyJ. Dai, J.
Teng, X. Bai, Z. Shen, and D. Xuan, “Mobile phone based drunk driving detection,” Pervasive
Comput. Technol. Healthc. PervasiveHealth 2010 4th Int. Conf. onNO Permis., pp. 1–8,
2010.sical Analytics - WPA ’15, 2015, pp. 19– 24.
[4] J. Dai, J. Teng, X. Bai, Z. Shen, and D. Xuan, “Mobile phone based drunk driving detection,”
Pervasive Comput. Technol. Healthc. PervasiveHealth 2010 4th Int. Conf. onNO Permis., pp.
1–8, 2010.
[5] M. Cummings, R. M. Kilgore, E. Wang, L. Tijerina, and D. S. Kochhar, “Effects of single
versus multiple warnings on driver performance,” Hum. Factors J. Hum. Factors Ergon. Soc.,
vol. 49, no. 6, p. 1097, 2007
[6] C. M. Farmer, B. B. Kirley, and A. T. McCartt, “Effects of invehicle monitoring on the
driving behavior of teenagers,” J. Safety Res., vol. 41, no. 1, pp. 39–45, Feb. 2010.
[7] F. Asif, J. Vinayakamoorthy, J. Ren, and M. Green, “Haptic controls in cars for making driv-
ing more safe,” in 2009 IEEE International Conference on Robotics and Biomimetics (ROBIO),
2009, pp. 2023– 2028.
[8] B. G. Simons-Morton et al., “The Effect on Teenage Risky Driving of Feedback From a Safety
Monitoring System: A Randomized Controlled Trial,” J. Adolesc. Heal., no. 53, pp. 21–26,
2013.
[9] Z. Ouyang, J. Niu, Y. Liu, and J. Rodrigues, “Multiwave: A novel vehicle steering pattern
detection method based on smartphones,” in 2016 IEEE International Conference on Commu-
nications (ICC), 2016, pp. 1–7.
[10] J. Wahlström, I. Skog, and P. Händel, “Detection of Dangerous Cornering in GNSS Data
Driven Insurance Telematics,” IEEE Trans. Intell. Transp. Syst., 2014.
22