Automobile Black Box System For Accident Analysis: Monisha J Prasad, Arundathi S, Nayana Anil, Harshikha Kariyappa B.S
Automobile Black Box System For Accident Analysis: Monisha J Prasad, Arundathi S, Nayana Anil, Harshikha Kariyappa B.S
Abstract– Automobiles and computing technologies are The Automobile Black Box exists partially in the
creating a new level of data services in vehicles. The form of Event Data Recorders (EDRs) and black
Automobile Black Box has functions similar to an boxes [4][5][6][7]. It is difficult to establish the exact
airplane black box. It is used to analyze the cause of cause of an accident from these [1]. To overcome this
vehicular accidents and prevent the loss of life and
shortcoming, an Automobile Black Box system that
property arising from vehicle accidents. This paper
proposes a prototype of an Automobile Black Box combines both of these aspects is proposed.
System that can be installed into vehicles. The system
aims to achieve accident analysis by objectively tracking Apart from the accident analysis by objectively
what occurs in vehicles. The system also involves tracking what occurs in vehicles, the proposed
enhancement of security by preventing tampering of the system sends short message indicating the position
Black Box data. In addition, the Black Box sends an of vehicle by GPS system to family member,
alert message to a pre-stored mobile number via Short emergency medical service (EMS) and nearest
Message Service (SMS) in the case of occurrence of an hospital so that first aid can be provided as early as
accident.
possible [8].
The proposed system makes use of 12 sensors to record
the various driving data parameters. The Raspberry Pi The proposed system also incorporates a security
controller (RPi) and Arduino controllers are used to module, which employs data encryption to secure the
regulate these sensors. The data received from the stored data on the SD card [9]. The system aims to
sensors are stored on the SD card mounted on RPi for achieve accident analysis by strategically placed
retrieval after the accident. The system uses external sensors, in and around the vehicle.
sensors such as camera and Global Positioning System
(GPS) to collect video and location data.
II. OVERVIEW OF THE SYSTEM
Keywords – Black Box, Microcontroller, Global
Positioning System (GPS), Global System for Mobile The schematic of the Automobile Black Box System
Communication (GSM) is shown in Figure 1. The output of the sensors is
read from Controller 1 and communicated to
I. INTRODUCTION Controller 2. The data is stored on the SD card. To
prevent falsification of the data, encryption algorithm
According to the World Health Organization (WHO), is used and the data is retrieved using the decryption
more than a million people in the world are losing algorithm.
their life each year because of transportation-related
accidents [1]. To address this problem black box
takes on the role of the investigator to determine the
cause, thereby helping to propose measures to protect
lives. The system also assists the insurance
companies with their claim settlements [2]. The
importance of such system drove the European Union
(EU) to establish a policy that makes it mandatory for
all vehicles to be equipped with black boxes [3].
Figure 2: Block diagram of the Automobile Black Box System A Real Time Clock is interfaced to the Raspberry Pi
controller using Inter-Integrated Circuit (I2C)
The acceleration of the vehicle at the time of crash is protocol. Real Time Clock is used to record the time
measured using an accelerometer ADXL335. It is a at which the accident occurs. A Raspberry Pi Camera
3-axis MEMS accelerometer measuring static and is interfaced to the Raspberry Pi by plugging into the
dynamic acceleration. The important lights in a Camera Serial Interface (CSI) slot in Raspberry Pi. It
vehicle are the flashers, the brake lights, headlights is used to take video inside the vehicle and store it on
and the rear lights. Light Dependent Resistors an SD card. It can be retrieved later to determine the
(LDRs) are used to detect whether these lights were cause of an accident.
functioning properly during the crash. A wheel speed
module is used to determine the rotations per minute The stored sensor data on the SD card is secured
(rpm) of the vehicle and hence the speed of the using a substitution cipher. The cipher key is used to
vehicle at the time of crash. It consists of Reed decrypt the data stored. The crash sensor similar to
Switches and magnets. The magnets are attached to the one used in air bag deployment is used to sense
the rear wheels of the vehicle. The engine the occurrence of an accident.
temperature of the vehicle is measured using a
temperature sensor DS18B20. A push button is used
to determine whether the driver wore the seat belt at III. METHODOLOGY ADOPTED
the time of crash.
The Arduino Integrated Development Environment
Various warnings are given to the driver using a (IDE) is utilized for programming the Arduino board.
range of sensors. An alcohol sensor module Arduino programs are written in C language. The
consisting of MQ3 gas sensor is used to warn the setup () function is made use of at the start of the
driver when he/she is high on alcohol. An Ultrasonic program to initialize settings like the pinmode of the
Ranging Module HC-SR04 is used for distance digital pins, serial baud rate. The loop() function runs
gauge. The driver is provided warning if the vehicle forever and it has the functions to monitor the various
approaches too close to the vehicle in front or rear. sensors such as alcohol sensor, temperature sensor,
Infra red object sensor modules are used for lane light sensor, accelerometer, ultrasonic sensor, seat
detection. The lane marking of white color on a dark belt, IR sensor, GPS. The serial port is made use of to
road is assumed; when the driver switches the lane, communicate the sensor readings to the Raspberry Pi
the sensor will sense the white line and indicates for storage.
through LED. A GPS system is used to determine the
co-ordinates of the accident location in order to send Python language is used for programming the
it along with an alert message to pre-stored numbers Raspberry Pi board. Threading is used in python
using a GSM module. The GPS module is interfaced programming to run Data Recording and Video
to Arduino using UART protocol. Recording functions.
The flowchart of the overall system is shown in both the threads and the recording stops. The data
Figure 3. stored is encrypted to prevent tampering.
NO
YES
VII. REFERENCES