Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Vehicle black box system

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

AUTOMATIC VEHICLE ACCIDENT

DETECTION AND REPORTING WITH


BLACKBOX
Nidhi Bharati Aditya Joshi
Department of Electrical Engineering Department of Electrical Engineering
University of Mumbai University of Mumbai
Mumbai, India Mumbai, India
nidhinbharati@acpce.ac.in adityagjoshi@acpce.ac.in

Harshad Joshi Niraj Patil


Department of Electrical Engineering Department of Electrical Engineering
University of Mumbai University of Mumbai
Mumbai, India Mumbai, India
harshaddjoshi@acpce.ac.in nirajdpatil@acpce.ac.in
Prof. Pradnya S. Narnaware
(Assistant Professor)
Department of Electrical Engineering
University of Mumbai
Mumbai, India
Abstract— This project presents the development and Road accidents are a major contributor to accident-
implementation of a digital driving system for a semi-autonomous related fatalities worldwide. The repercussions extend beyond
vehicle to improve the driver-vehicle interface along with black
property damage, resulting in loss of life due to delayed safety
box features. It uses an Arduino based data acquisition system
that uses ADC to bring all control data from analog to digital measures. In 2022, road traffic accidents reported by States
format and visualize through LCD. The communication module and Union Territories in India alone amounted to 461,312,
used in this project is embedded networking by CAN which has claiming 168,491 lives and causing injuries to 443,366
efficient data transfer. It also takes feedback of vehicle conditions individuals. This marked an 11.9% increase in accidents, a
like Vehicle speed, Engine temperature etc., and is controlled by 9.4% increase in fatalities, and a 15.3% increase in injuries
the main controller. Additionally, this unit is equipped with GPS, compared to the previous year. Globally, road traffic injuries
ESP32 for various other purposes. The project includes solution
provided by multiple system into a single system with added are the eighth leading cause of death across all age groups and
features. The system developed is used to analyze the cause of are predicted to become the seventh by 2030. Despite
vehicular accidents and prevent the loss of life and property numerous awareness campaigns, reckless behaviors like
arising from vehicle accidents. The system aims to achieve speeding, drunk driving, and driving while fatigued continue to
accident analysis by objectively tracking what occurs in vehicles. escalate the problem. The high number of deaths and
It aims to provides a smart dashboard to the vehicle. The system disabilities from these accidents is largely due to the delay in
also involves enhancement of security with anti-theft and remote
receiving assistance.
tracking as well as monitoring features. The system developed is
an all-in-one system with almost all the features to make any The social and economic burdens imposed on those
ordinary vehicle a smart vehicle. It aims to provide a better user affected by road accidents are significant. Research groups and
experience along with prevention from accidents as well as leading motorcycle manufacturers are working to develop
tracking and monitoring features of any vehicle. safety devices to protect riders from unintentional injuries.
While these devices are challenging to implement and can be
Keywords—Black box, GPS, GSM
costly, they are a step towards mitigating the impact of
accidents. In densely populated countries like India, the daily
I. INTRODUCTION loss of lives due to accidents and inadequate emergency
facilities is a grave concern. Timely medical assistance could
As the global population grows, so does the save many of these lives. Often, delays in informing family
number of vehicles on our roads and highways. This members or emergency services result in prolonged suffering
increase has led to a surge in accidents, causing traffic for accident victims. Prompt accident location identification
congestion and delaying immediate assistance to those
and alert transmission are vital for emergency aid. Our
involved. Road accidents account for a significant
Blackbox system records driving data and, upon an accident,
proportion of accident-related deaths worldwide. These
notifies pre-set contacts and hospitals, enhancing safety and
accidents not only damage property but also result in loss
of life due to the lack of immediate safety measures. aiming to preserve lives. The system is robust, ensuring data
integrity in all conditions. [3]

1
1.1 Problem Statement A novel concept for the vehicle industry has been
Modern vehicles are increasingly incorporating electrical and introduced, focusing on a Black Box system and Collision
electronic components for enhanced functionality. A recent Avoidance System. This system is designed to prevent vehicle
innovation includes a vehicle equipped with an analog collisions and record essential vehicle details, featuring an
interface that displays vital information such as speed, fuel
ARM microcontroller, GSM Module, and a specialized
level, and engine temperature. Our project advances this
concept by developing and implementing a digital driving Collision Avoidance Unit. It incorporates various sensors for
system for semi-autonomous vehicles, which not only refines proactive accident detection, with data collection commencing
the driver-vehicle interface but also integrates black box at vehicle start-up and storage in EEPROM for post-accident
capabilities for comprehensive vehicle monitoring. access, ensuring privacy. [3]
1.2 Existing System Furthermore, a system for accident detection and
Most of the systems available in the market are application- reporting has been designed, utilizing GPS and GSM modules.
specific, and each has different interfaces that cannot be This system is equipped with a microcontroller, alcohol
integrated into a single system. Adding such systems to sensor, and vibration sensor to determine the vehicle’s precise
vehicles requires constant monitoring and maintenance. We location via GPS and relay this information through GSM. The
plan to design a Vehicle Black Box based on CAN & IoT vibration sensor is configured to activate the processor to
protocols. This will not only be a single system with multiple
engage the brakes upon detecting an accident, thereby
modules (applications) integrated into one, but it will also
mitigating the impact. [4]
. have a common interface that can be monitored and controlled Additionally, an efficient wireless system for vehicle
both remotely and locally. In addition to reducing costs, it also
offers an optimal user experience. Alerts can be adjusted accident detection and reporting has been developed,
according to preferences. incorporating an accelerometer and GPS. This system includes
an ARM microcontroller unit, MEMS accelerometer, GPS
1.3 Objectives
device, GSM module, and a suite of sensors. It is programmed
• To find the exact location of an accident.
• To send an alert message to the pre-coded number. to send an alert to a family member or emergency medical
• To sense the presence of alcohol. service upon accident detection. A manual override is
available to send a safety message in case of minor accidents,
II. LITERATURE SURVEY conserving emergency medical service resources. [5]

In the literature survey, it was found that an III. METHODOLOGY


innovative system for automatic vehicle accident
detection and messaging utilizing GPS and GSM modems At the core of our innovative vehicle monitoring system
has been designed. This system employs a basic lies the Arduino Nano, a compact yet powerful
microcontroller for its cost-effectiveness and simplicity, microcontroller that orchestrates the entire network of sensors
interfacing with the GPS and GSM modules through a and modules. It begins with the meticulous collection of data
multiplexer. The incorporation of IR sensors allows for from an array of sensors, each meticulously chosen for its
the detection of obstacles, triggering an interrupt to the specific role in maintaining vehicle integrity and safety.
microcontroller, which then initiates the GPS to capture The temperature sensor diligently measures the heat
the accident location and communicate this data to a pre- emanating from the bonnet, a critical indicator of the engine’s
defined mobile number via the GSM modem. The well-being, ensuring that any signs of overheating are
system’s accuracy is further enhanced by the use of promptly detected and addressed.
assembly programming. [1] The ultrasonic sensor employs acoustic signals to
Another noteworthy development in the literature is accurately assess the fuel level, providing a reliable measure
a wireless black box system that leverages a MEMS of fuel consumption that is essential for efficient vehicle
accelerometer and GPS tracking to monitor accidents. operation. In the realm of safety, the smoke sensor stands as a
The system’s architecture includes an accelerometer, a vigilant guardian, poised to detect any traces of fire or smoke,
microcontroller unit, GPS device, and GSM module, with thereby enabling swift action to mitigate potential fire hazards.
the vehicle’s registration number, a relative’s phone Complementing this protective suite is the alcohol sensor, a
number, and emergency services contact pre-programmed crucial component that determines the presence of alcohol in
into the source code. The system is designed to enter the driver’s system, serving as a preventative measure against
surveillance mode upon detecting an accident, with a fail- the perils of drunk driving. The IR sensor plays a pivotal role
safe that allows the user to deactivate this mode to in spatial awareness, detecting nearby obstacles and
contributing to collision avoidance strategies. Similarly,
prevent false alerts. Failure to deactivate within the
the vibration sensor is finely tuned to pick up any unusual
specified time results in the system automatically alerting
vibrations, alerting the system to possible accidents or impacts
the call centre and the programmed contact, while also
that may compromise vehicle safety.
gathering and recording the vehicle’s location and
pertinent details. [2]

2
Communication between these sensors and the GSM (Global System for Mobile communication):
system’s nerve centre is facilitated by the MCP2515 The Sim800L Module, a compact and cost-effective GSM
modules, which ensure seamless data transmission over the module, is built on the robust SIM800L chipset by Simcom,
CAN protocol. Once the Arduino Nano processes this wealth supporting a quad-band GSM and GPRS network for global
of information, it conveys the data to an I2C LCD, which acts operability. This breakout board is an excellent fit for
as a user-friendly interface, displaying the sensor readings in applications where size and budget constraints are paramount.
a clear and accessible manner. In addition to these The module’s capability extends to enabling users to send text
components, the system is further enhanced by the
messages, make or receive phone calls, connect to the internet
integration of a Neo 6M GPS module, which captures precise
via GPRS, and engage in TCP/IP communications, essentially
locational data. This data is then transmitted via the SIM800L
GSM Module in the form of SMS messages, keeping the user providing the functionalities of a cell phone.
informed of the vehicle’s status and location, even from afar. Despite its versatility, the Sim800L Module does have certain
This comprehensive system not only elevates vehicle safety requirements for operation. It needs a power supply within the
to new heights but also enriches the driving experience by range of 3.7 to 4.2 volts, which means it cannot be directly
ensuring that the user is always connected and in control. powered through standard Arduino or Raspberry Pi boards.
Moreover, it demands up to 2 amperes of current,
3.1 Hardware Requirements necessitating a carefully designed power supply. A 3.7-volt
lipo battery can be used to power the GSM module directly.
Arduino NANO Board: Communication with the Sim800L Module is facilitated
Launched in 2008, the Arduino Nano is a compact, fully- through a UART port, supporting an extensive array of
featured, and breadboard-compatible board that is built on the commands including 3GPP TS 27.007, 27.005, and enhanced
ATmega328P. It provides the same functionality and AT Commands from SIMCOM. This allows for a flexible and
specifications as the larger Arduino Uno board but in a more efficient interface for managing a wide range of
compact size. The Arduino Nano comes with 30 male I/O communications and networking functions, making the
headers arranged in a DIP30-like configuration. These module a cornerstone for wireless communication
headers can be programmed using the Arduino Software
Ultrasonic sensor:
Integrated Development Environment (IDE), a common
The HC-SR04 Ultrasonic sensor is a widely utilized 4-pin
platform for all Arduino boards that operates both online and
module, notable for its Vcc, Trigger, Echo, and Ground pins.
offline. The board can be powered either through a type-B
This sensor has gained popularity across various fields for its
micro-USB cable or from a 9V battery, offering flexibility in
ability to measure distances and detect objects. It features a
its power sources. In terms of specifications, the Arduino
pair of ‘eyes’ on the front side, which act as the Ultrasonic
Nano operates at a logic level voltage of 5V. It features 8
transmitter and receiver. The operational principle of the
analog input ports (A0 to A7) and 14 digital input/output ports
sensor is rooted in the fundamental physics equation:
(TX, RX, D2 to D13). Additionally, it includes a pair of TTL
Distance=Speed × Time
level serial transceiver ports (RX/TX). The board utilizes the
The Ultrasonic transmitter emits a sound wave that travels
Atmel Atmega328P-AU Microcontroller Unit (MCU),
through the air until it encounters an object, at which point it
ensuring reliable and efficient performance.
bounces back towards the sensor. This returning wave is
captured by the Ultrasonic receiver, allowing the sensor to
GPS (Global Positioning System): calculate the distance to the object
This GPS module, grounded in the NEO 6M GPS technology,
encapsulates cutting-edge advancements to deliver superior I2C LCD:
positional accuracy. It boasts a substantial in-built active GPS The I2C_LCD module is a user-friendly display tool designed
antenna, measuring 25 x 25mm, complemented by a UART to simplify the interface for makers, allowing them to devote
TTL socket for enhanced connectivity. An integrated battery more attention to the core aspects of their work. The module’s
expedites the acquisition of a GPS lock, ensuring swift and compatibility with the Arduino library means that complex
reliable location tracking. Optimized for compatibility with graphics and text displays can be achieved with minimal
the ardupilot mega v2, this updated module is engineered to coding. This feature is particularly beneficial as it can replace
provide top-tier positional data, thereby elevating the the serial monitor of Arduino, providing operational
performance of your Ardupilot or other Multirotor control information without the need for a computer. Additionally, the
systems. The module features a serial TTL output and is module supports bitmap conversion software, enabling images
equipped with four essential pins: TX, RX, VCC, and GND, to be displayed on the I2C_LCD without the need for
streamlining the connection process. Enhancing the elaborate programming. With specifications that include a
description further, this GPS module is not only a beacon of blue backlight and white character color on an LCD1602
technological prowess but also a testament to user-centric model, and an easy-to-use I2C interface with an address of
design. It seamlessly integrates into various control platforms, 0x27, the module is a versatile component for any project
offering a reliable and straightforward solution for real-time requiring a display, all while operating on a standard supply
positional tracking. voltage of 5V

3
Alcohol sensor: CAN TX/RX:
The alcohol sensor in discussion is adept at detecting the The CAN bus module in question is user-friendly and operates
concentration of alcohol in one’s breath, functioning much via an SPI Interface. It incorporates a CAN Controller
like conventional breathalyzers. It stands out due to its high MCP2515 and a high-speed CAN transceiver TJA1050,
sensitivity and swift response time. The sensor’s output is making it versatile for easy interfacing with various
analog resistive, varying in accordance with the detected microcontrollers, including popular platforms like Arduino
alcohol concentration. As for its specifications, it operates on and Raspberry PI. The module adheres to the CAN V2.0B
5 VDC, drawing around 165 mA when the heater is active and technical standard and supports a communication rate of
about 60 mA when it’s not. The sensor’s current consumption 1Mb/S. It is powered by a 5V DC supply and controls
is approximately 150 mA. The DO output lies between 0.1 and protocols through the SPI interface. The data field can vary
5V, while the AO output ranges from 0.1 to 0.3 V, relative to from 0 to 8 bytes, and it includes an 8MHz crystal oscillator
pollution levels, with the maximum concentration and a 120Ω terminal resistance for signal stability. The
corresponding to a voltage of roughly 4V. Impressively, the TJA1050 transceiver ensures impedance matching and robust
sensor can detect alcohol concentrations from as low as 0.05 drive capability for reliable long-distance data transmission
mg/L to as high as 10 mg/L. while preventing signal radiation. The module’s typical
working current is 5mA, with a standby current of 1
microamp, excluding the power indicator. This makes it an
Vibration sensor : efficient solution for projects requiring CAN bus
The SW-420 vibration sensor module, based on the SW-420 communication.
sensor and LM393 Comparator, is engineered to detect
vibrations that exceed a set threshold, which can be adjusted
using the onboard potentiometer. When there’s no vibration, 3.2 Software Requirements:
the module outputs a logic LOW signal, and the LED indicator
lights up to signal this status. In contrast, when a vibration is Arduino IDE:
detected, the vibration switch temporarily opens, resulting in a The Arduino Integrated Development Environment (IDE) is a
high output signal and the green indicator light turning off. versatile, cross-platform tool compatible with Windows,
The module’s output can be interfaced with a microcontroller macOS, and Linux, crafted in the Java programming language.
to discern high and low levels, thereby detecting the presence Its primary function is to craft and transfer programs onto an
of vibration and potentially triggering an alarm function. This Arduino board. The IDE’s source code is openly shared under
module is equipped with a normally closed type vibration the GNU General Public License. It facilitates programming in
sensor and a wide voltage LM393 Comparator, ensuring a C and C++ by providing specific coding conventions. The IDE
clean signal, good waveform, and strong driving ability, comes equipped with a software library from the Wiring
suitable for a range of 3.3V to 5V. project, offering a range of standard procedures for input and
output operations. Coding with the Arduino IDE necessitates
just two fundamental functions: one to initiate the sketch and
Smoke detector: another for the main loop of the program. These are then
A smoke detector is an essential safety device that senses the compiled and linked with a stub main() to form an executable
presence of smoke, often indicating a potential fire. In cyclic executive program, utilizing the GNU toolchain that
commercial environments, these detectors are part of a comes bundled with the IDE. To prepare the code for the
comprehensive fire alarm system, signaling to a central Arduino board, the IDE utilizes ‘avrdude’, which translates the
control panel to initiate emergency protocols. For residential executable code into a hexadecimal text file. This file is then
use, smoke alarms are designed to emit an audible or visual uploaded to the Arduino board through a loader program
alert directly from the unit, with the capability to link multiple embedded in the board’s firmware.
detectors for wider coverage. These devices typically operate
on a standard voltage of +5V and require a brief preheat
Fritzing:
duration of 20 seconds before becoming fully operational,
ensuring reliable performance with an analog output voltage Fritzing stands as an open-source endeavor dedicated to
range of 0 to 5V. demystifying electronics, transforming them into a medium of
creativity accessible to all. We provide a suite of offerings: a
software tool, a communal platform, and services that echo the
IR sensor: ethos of Processing and Arduino. This initiative nurtures a
Infrared radiation (IR) sensors detect objects within a certain creative habitat that empowers users to chronicle their
range, with a detection distance of 2 to 30cm and an angle of prototype designs, exchange insights with peers, impart
35°, using an LM393 comparator chip. The NEO6M GPS electronics knowledge within educational settings, and design
module updates position at 5Hz, with quick start times and and produce professional-grade printed circuit boards (PCBs).
configurable baud rates, supporting various augmentation Beyond these, Fritzing actively encourages innovation and
systems and featuring a separate GPS antenna for precise experimentation, providing a sandbox for inventors to tinker
tracking. and iterate on their electronic concepts.

4
Proteus:
Proteus is a comprehensive software suite used primarily for
electronic design automation. It encompasses tools for
schematic capture, simulation, and PCB layout design, tailored
to meet the needs of both professionals and
hobbyists. Developed by Lab center Electronics Ltd., Proteus
offers support for a wide range of microcontrollers, including
those from Microchip, Atmel, and ARM, among others..
The software is known for its user-friendly interface and
powerful features, such as mixed-mode SPICE simulation,
microcontroller simulation, and a dedicated IDE for
simulation purposes. Proteus is also equipped with features for
high-speed design and has capabilities for 3D board
visualization. Its schematic capture component is essential for
both simulating designs and creating PCB layouts, making it a
versatile tool in the electronic design process. Proteus is
available in various configurations, depending on the size of
the designs and the specific requirements for microcontroller
simulation. It’s praised for its ease of use in educational
settings, making it a valuable tool for teaching and training
purposes as well. Whether you’re designing a simple circuit
for a personal project or a complex system for professional
manufacturing, Proteus provides a robust platform to bring
electronic concepts to fruition. [6] Fig. 3.2.1 : Before simulation

Fig. 3.2.2: After simulation

5
IV. IMPLEMENTATION

Fig. 4.1: Block Diagram

CONCLUSION

3. Advantages: Digital control is crucial in modern vehicles, and this has


• It provides security to the vehicle in very reasonable cost been made possible by the rapid advancement of embedded
• Simple to install and operate technology. This project presents an embedded system that
• It will help to provide emergency responders with leverages the capabilities of a high-speed CAN bus system,
crucial information at the earliest possible time which is integral to automotive applications. The Arduino
• It is easy to detect the exact location of the vehicle Nano, serving as the main controller, is at the heart of this
system. It capitalizes on the high-performance of
microcontrollers and the speed of the CAN bus
communication network. This setup enables efficient data
3. Disadvantages: transfer and collaboration among different nodes, enhancing
• Requires an active internet connection for data logging. the overall performance of the vehicle’s control computer.
• If fault occurs then it requires human interference. This system not only meets the demands of the contemporary
• Large number of connections. automobile industry but also holds significant practical value.

FUTURE SCOPE
3. Applications
• Used in automotives and transport vehicles- from lighter
vehicles like cars, to heavier automotives like ships and In the future, we can integrate the system with the
aero-planes. vehicle’s airbag system. This integration will maximize the
• Security and remote monitoring of vehicles especially efficiency of the proposed technology and provide an optimal
during military operations. accident detection system. We can enhance the proposed
system by incorporating additional components capable of
• This system is also can be interfaced with Vehicle airbag
gathering various types of information, such as voice
system such that when the sensors detect the accident,
recordings, video recordings, and detecting the specific part of
the air bags get opened
the vehicle that has been impacted.

6
REFERENCE

1. Sri Krishna Chaitanya Varma, Poornesh, Tarun Varma and


Harsha , “Automatic Vehicle Accident Detection And Messaging
System Using GPS and GSM Modems”, International Journal of
Scientific & Engineering Research (IJSER), Volume 4,Issue 8,
August 2013

2. Rajashri R. Lokhande and Sachin P. Gawate, “Design &


Implementation of Vehicle Black Box For Driver Assistance And
Alert”, IOSR Journal of Computer Science (IOSR-JCE), 2014

3. Ramchandra Patil and Shivaraj Hublikar, “Design and


Implementation of Car Black Box with Collision Avoidance
System using ARM” ,International Journal of Innovative
Technology and Exploring Engineering (IJITEE), Volume4,
Issue3, August 2014

4. Mr.Dinesh Kumar HSDK, Shreya Gupta, Sumeet Kumar, Sonali


Srivastava, “ Accident Detection and Reporting System Using
GPS and GSM Module”, Journal of Emerging Technologies and
Innovative Research (JETIR), Volume 2, Issue 5, May 2015

5. Shailesh Bhavthankar and Prof. H. G. Sayyed, “Wireless System


for Vehicle Accident Detection and Reporting using
Accelerometer and GPS”, International Journal of Scientific&
Engineering Research (IJSER), Volume 6, Issue 8, August 2015

6. Introduction to Proteus - The Engineering Projects

You might also like