Professional Documents
Culture Documents
Abstract — Aim to create a system utilizing the The various devices and services used in this system for the accident
Internet of Things (IoT) concept to detect accidents in two detection and notification purpose are –
wheelers using a microcontroller and accelerometer and 1. Arduino Microcontroller
notify the authorities as well as the emergency contact of 2. MPU6050 Accelerometer
the rider. Also, plot the accidents occurring in the city for 3. Sim900 GSM Module
further analysis. 4. NEO6M V2 GPS Module
5. Web Server
Keywords—internet of things; accident detection;
reporting; embedded systems;
hour is to develop a low-cost, affordable and intelligent system accident, wearing helmet is must. If the rider is not
which can be utilized efficiently by everyone. wearing his helmet, he should not be able to start his two-
wheeler.
III. PROPOSED ARCHITECTURE 2. Detect accidents reliably by removing false positives. The
threshold for acceleration change to be classified as an
The paper describes the prototype of a smart helmet which aims to accident should be suitable. Too high a threshold would
detect and report accidents occurring in two wheelers. discard the accidents and too low a threshold would lead
Microcontroller interfaced with accelerometer and GSM module to false positives.
and cloud service infrastructures are utilized to achieve the final 3. Report accidents to authorities and to the assigned
emergency contact. The notification should also have the
objectives of notification and reporting. The helmet is developed in
location of the accident so that help can be sent
a way to detect an accident in two wheelers and send the
immediately.
geographical co-ordinates of the accident to the emergency 4. Consolidate and plot the accidents on a map to prevent
authorities and the emergency contacts of the victim. A 6-axis future accidents by identifying accident hot-spots. This is
accelerometer is mounted on the helmet which continuously done with the help of Google maps.
monitors the acceleration levels of the helmet. When an accident is
detected due to inconsistent acceleration levels and exceeds the C. Working Principle
threshold, it gathers the GPS co-ordinates from the GPS module and
The smart helmet provides an affordable and effective accident
sends a message to the emergency authorities’ web server which
detection and notification system to address the problems faced by
then sends an emergency message to the assigned emergency
the two wheeler riders. The helmet contains a microcontroller which
contact of the victim.
gets the acceleration data from the 6 axis accelerometer which also
contains a gyroscope. A GSM module is also present in the system
which is responsible for communication with the web server. The
smart helmet communicates with the web server using a REST
HTML architecture. The architecture of the system is described in
Figure 1.
1. Accident Detection
Consider a bike which is moving along the road. The road ahead of
Figure.1 Architecture of the system
the bike is the positive x-axis while the road behind is the negative
A. Challenges faced for the development of the system x-axis, the area to the right and the left of the rider is the positive
and negative y-axis respectively. The road immediately below the
1. Cost of the system two-wheeler represents the y-axis.
Affordability of the system is one of the major objectives. If the end When the bike is stationary, there are no forces on the bike apart
cost of the system is very high then adoption rate will be very low. from the acceleration due to earth’s gravity (~1g) which acts along
The end cost of the system would not be more than a couple the negative y-axis.
thousand Indian rupees.
3. Battery considerations
The system should have a decent battery life and be able to work all
day long. For this purpose various hardware devices and algorithm
changes have been made to maximise the battery life.
Time period 0-200ms shows the constant acceleration experienced signifies that an accident has occurred due to the vehicle tipping over
by the two wheeler when it is moving at a constant speed. Time as depicted in Figure 4.
period 200-250ms shows the added acceleration experienced by the
rear end collision to the two wheeler. This period shows a great The algorithm for accident detection can be summarised as, (the
change in acceleration from 2.4m/s at 200ms to 6.5m/s at 250ms. An initial values of acceleration and angles are 0)
acceleration change of 4.1m/s is experienced by the helmet of the
1. Get acceleration and gyroscope values from the
two wheeler rider in a time frame of 50ms which is more than accelerometer.
enough force to cause an accident. Time period 250-300ms is the 2. Save the acceleration and the gyroscope values as new
negative acceleration experienced due to the whiplash effect on the values.
neck and helmet. 3. Check if the change in acceleration exceeds the threshold
or the lean angle exceeds the threshold by the help of the
current and new acceleration and gyroscope values.
4. Store the new acceleration and gyroscope values as the old
values.
5. Repeat from step 1 every 50ms.
2. Sending notification
The lean angle also plays an important part as the two-wheeler can a. Hardware notification
also tip over sliding along the road without any significant change
1. Get current GPS location from the GPS module.
in acceleration.
2. Decode the GPS NMEA string to reveal the latitude and
longitude.
3. Incorporate the vehicle ID, location data and the vehicle
type into a GET request.
4. Connect to the web server using the GSM module.
5. Send the GET request
6. Disconnect from server.
b. Webserver notification
The geographic coordinates of the accidents are stored in a database The time taken to send the notification after the accident has been
which allows for persistent storage of the accident coordinates. detected is less than 10 seconds on an average. The web server
receives the correct coordinates and stores the accident data before
The plotting of the accidents is done to identify the accident hotspots forwarding the accident coordinates to the emergency authority.
in one glance which is useful in many ways. Ambulances can be
placed near accident prone areas for quicker emergency response. This notification is in the form of an email which is shown in Figure
Accident prone roads can be re-modelled to reduce the number of 5. This can be extended to SMS also.
accidents that occur due to improper road/intersection design.
IV. RESULTS
The system also contains a method to ensure that the rider wears his Figure 6 Marker map
helmet without which his vehicle would not start. An array of bump
switches are installed in the helmet which give a signal to the micro
controller indicating that the rider has worn his helmet. If no signal
is received by the microcontroller, then it does not allow the engine
ignition to take place or switches off the engine in case the rider
removes his helmet while riding.
Results show that the helmet was able to correctly identify the
accident impacts 275 times out of the 290 times in which 15 were
false positives i.e. an accuracy of 94.82% and sends the notification
with the correct and current coordinates 96.72% (266/275) of the
time. This accident detection result is based on the threshold level
set at 20,000 units of acceleration change in a time span of 50ms.
For testing purposes, the change in acceleration threshold has been Figure 7 Heat map
set appropriately. The helmet does not beep when it is
accelerated/decelerated gradually as would be the case in real life. It V. CONCLUSIONS AND FUTURE WORK
beeps and sends a notification with the geographic coordinates when
The smart helmet system is designed to be a low cost solution to
a sudden acceleration is detected in a short span of time or the two-
report and monitor the two wheeler accidents. It is a cheap and
wheeler slips and slides.
viable solution which is easy to operate and in line with the Digital
India vision of the government. The system also offers additional
benefits which are not present in the other systems. Most of today’s
accident detection and prevention systems are built for four-
wheelers. The smart helmet could prove to be a life saver for the
numerous two-wheeler riders in the country and the world by
ensuring that help reaches them when they meet with an accident
without any delay.
REFERENCES