IOT BASED AVOID FIRE ACCIDENT IN EV VEHICLE WITH MULTIPLE FAULT DETECTION Report
IOT BASED AVOID FIRE ACCIDENT IN EV VEHICLE WITH MULTIPLE FAULT DETECTION Report
IOT BASED AVOID FIRE ACCIDENT IN EV VEHICLE WITH MULTIPLE FAULT DETECTION Report
A PROJECT REPORT
Submitted by
ANANTHARAJ.C (923020105301)
KAVITHA.R (923020105303)
SUTHI.S (923020105304)
of
BACHELOR OF ENGINEERING
in
i
ANNA UNIVERSITY:CHENNAI 600 025
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
Mr.P.MANOJKUMAR,M.E.,MISTE., Mr.P.MANOJKUMAR,M.E.,MISTE.,
HEAD OF THE DEPARTMENT SUPERVISOR
ii
ACKNOWLEDGEMENT
iii
ABSTRACT
iv
TABLE OF CONTENT
CHAPTER TITLE PAGE NO
ABSTRACT iv
LIST OF FIGURES Vii
1 INTRODUCTION
1.1 Overview 1
1.2Embeddedsystem 3
2 LITERATURE SURVEY 8
3 EXISTING SYSTEM
3.1 Introduction 18
3.2Block diagram 18
3.3Disadvantage 19
4 PROPOSED SYSTEM
4.1 Introduction 20
4.5 Advantage 22
5 SOFTWARE IMPLEMENTATION
5.1 Arduino IDE 23
5.2 Proteus 25
v
6 HARDWARE IMPLEMENTATION
6.1 Power supply unit 27
6.7 NodeMCU 38
6.8 Buzzer 40
6.9 DC Motor 41
7 SOURCE CODE
7.1 Arduino IDE 43
9 REFERENCE 61
vi
LIST OF FIGURE
vii
OBJECTIVE
viii
CHAPTER 1
INTRODUCTION
1.1 OVERVIEW
The purpose of our project, "IoT-based Avoid Fire Accident in EV
Vehicle with Multiple Fault Detection and Li-ion Battery Management," is to
address critical safety concerns in electric vehicles (EVs) while enhancing their
reliability and performance. As the adoption of EVs continues to rise, ensuring
the safety of these vehicles becomes paramount. Our project focuses on
integrating advanced monitoring mechanisms, IoT technology, and proactive
safety measures to mitigate potential risks and provide users with peace of mind
during their EV journeys. Implementing such a comprehensive system comes
with its own set of challenges. One of the primary implementation problems is
ensuring seamless integration of various sensors and monitoring devices within
the vehicle's architecture without compromising its design and functionality.
This requires careful planning and coordination to optimize space utilization
and minimize interference with other vehicle components. Another challenge
lies in the development of robust algorithms for real-time data analysis and fault
detection. The system must be capable of accurately interpreting data from
multiple sensors, detecting abnormalities, and initiating appropriate actions to
prevent potential hazards. Achieving this level of intelligence and
responsiveness demands extensive testing and refinement to ensure reliability
under diverse operating conditions. Furthermore, ensuring compatibility and
interoperability with existing EV models poses another implementation hurdle.
Our system must be adaptable to different vehicle configurations and
manufacturers' specifications to facilitate widespread adoption across the EV
industry. This necessitates collaboration with OEMs and standardization bodies
to establish common protocols and interfaces for seamless integration. Despite
these implementation challenges, the benefits of our project are significant. By
1
continuously monitoring key parameters such as battery temperature and
voltage levels, we can detect potential issues before they escalate, thereby
preventing fire accidents and enhancing overall safety. The integration of IoT
technology enables remote monitoring and reporting, providing users with real-
time insights into their vehicle's health and performance. Moreover, the
automatic shutdown mechanism triggered by the fire detection sensor adds an
extra layer of protection, minimizing the risk of fire-related accidents and
ensuring user safety. This proactive approach not only safeguards lives but also
protects investments by preventing costly damages to EVs and their
surroundings. Additionally, the comprehensive dashboard and notification
system empower users with actionable insights and timely alerts, allowing them
to take proactive measures and address any issues promptly. This enhances user
confidence in EV technology and promotes wider adoption of electric vehicles,
ultimately contributing to a cleaner and more sustainable transportation
ecosystem.
2
1.2 EMBEDDED SYSTEM
3
perform a specific task. For example, a fire alarm is an embedded system; it
will sense only smoke.
It has hardware.
4
results in real time without any delay. Consider an example of a car
cruise controller; it continually monitors and reacts to speed and brake
sensors. It must compute acceleration or de-accelerations repeatedly
within a limited time; a delayed computation can result in failure to
control of the car.
5
1.2.2 ADVANTAGES
Easily Customizable
Low power consumption
Low cost
Enhanced performance
Processor & ASICs − Processors process the data to measure the output
and store it to the memory.
6
D-A Converter − A digital-to-analog converter converts the digital data
fed by the processor to analog data
7
CHAPTER 2
LITERATURE SURVEY
2.1 TITLE: IoT Enabled Battery Status Monitoring System for Electric
Vehicles
AUTHOR: Sthitprajna Mishra; Chinmoy Kumar Panigrahi;
YEAR:2023
DESCRIPTION:
8
2.2TITLE:Battery State Estimation and Control System for Mobile Charging
Station for Electric Vehicles
YEAR: 2023
DESCRIPTION:
9
2.3 TITLE: Battery Monitoring System for Electrical Vehicles (EVs)
YEAR:2023
DESCRIPTION:
10
2.4 TITLE: Dual Battery Charger System for Electric Vehicle
YEAR: 2021
DESCRIPTION:
This paper presents the dual battery charging system using Arduino
control. Nowadays Electric Vehicles are facing more problems due to the
increased battery charging time. This paper provides the solution to reduce the
charging time by incorporating a dual battery charging system. The proposed
dual battery charging system consists of number of cells to form a complete
battery. This battery is divided into two parts using switch at the time of
charging and then it charges the battery from both sides up to fully charge by
using two chargers. The battery automatically disconnects from the charger
when it fully get charged i.e. up to the set point and it starts charging when
battery has reached a below limit. By using this system, the charging time of the
battery reduces to approximately half of the charging time required by normal
way. This system displays current, voltage and charging state of battery on
display board, which helps in monitoring the battery performance.
11
2.5 TITLE: A Battery Monitoring System based on IoT for Electric Vehicles
AUTHOR:PSasirekha; E Sneka; B Velmurugan
YEAR: 2023
DESCRIPTION:
Electric vehicles (EVs), which are considered as dynamic electrical
energy storage units, are widely used because of their outstanding electrical
characteristics and versatility. However, their widespread adoption has a
significant adverse effect on the grid and carries the risk of harming their
batteries when they become profoundly discharged. EV batteries require a
precise state of charge estimation to minimize the lisk of damage, prolong their
lifespan, and in order to safeguard the equipment power. Based on simplicity of
implementation and reduced overall complexity, this study suggests a real-time
Battery Monitoring System (BMS) employing the coulomb method of counting
for SOC estimation and MQTT which is messaging-based as an internal
communication protocol. Utilizing an adequate central CPU, interfacing
devices, and sensor technology, the proposed BMS is implemented. In order to
monitor and regulate the discharging and charging of rechargeable battery
packs, which increases the operational efficiency, battery management systems
are important in electric vehide technology. Monitoring involves keeping a
close eye on the important operating factors including voltage, current, fire, and
temperature while charging and draining a battery. This is a hardware-timed
sensor system that tracks various variables, like temperature, voltage, and fire
and reports them on IOT so you can see exactly when everything has reached
the right value.
12
2.6 TITLE: Overview on Battery Management System and Energy Storage
System of Electric Vehicle
AUTHOR:SanithaMichail C; Chithra M; Nithara P V
YEAR: 2022
DESCRIPTION:
13
2.7 TITLE: Smart Electric Vehicle with Safety System
DESCRIPTION:
14
2.8 TITLE: Integrating Cloud Computing with IoT for Battery Monitoring in
Electric Vehicles
15
2.9 TITLE: Energetic and Smart Design of Battery Management Scheme to
Improve the Lifetime of Electric Vehicles
AUTHOR: V M. Varatharaju; Chidambaranathan C M
YEAR: 2023
DESCRIPTION:
In order to maximize efficiency, electric vehicles use Battery
Management Systems (BMS) to manage their rechargeable batteries. The
battery's safety and dependability are ensured by the battery management
system, and the battery's age is extended without being damaged. Various
monitoring methods are used to keep track of the battery pack's charging
capacity, voltage-levels, current-ratings and ecological pressure ratio. A variety
of analogue and digital sensors are employed with microcontrollers for this
purpose. Several powerful batteries have been developed as a result of the
tremendous advances in the field of batteries over the past ten years. High-
power batteries with suitable battery management systems are essential for the
safe and reliable operation of Electric Vehicles (EVs). This paper will address
the power sources utilized by electric automobiles and the primary problems of
battery control systems, as well as compare both the lithium ion battery as well
as the metal based nickel-hydride batteries in regards to growing older along
with the impact caused by climate through the use of the State-of-Charge (SOC)
and closed device electricity. This study's goal is to compare and contrast
different intelligence techniques along with the control methods used in electric
vehicle battery management platforms. The study assesses the characteristics,
structure, configuration, accuracy, benefits, and downsides of intelligent
algorithms for estimating the condition of a battery. Focusing on parts,
characteristics, aims, outcomes, advantages, and restrictions, this research
analyses the various controllers used for warming, cooling, balancing, and
protecting batteries.
16
2.10 TITLE: A Wireless Battery Temperature Monitoring System for Electric
Vehicle Charging
AUTHOR: Bo Wang; Javier Hernandez Fernandez
YEAR: 2019
DESCRIPTION:
Thermal monitoring during charging increases the safety and efficiency
of Electric Vehicles (EVs) batteries. Up to now, no thermal sensing solutions
are able to perform temperature sensing for each battery cell in the EV due to
the cost, deployment complexity, and/or safety reasons. In this paper, a
complete wireless thermal monitoring system for EV battery charging
surveillance is presented. The designed sensing device is wireless, fully passive,
with small feature size, and low-cost thus can be deployed on a large scale for
cell-level battery temperature sensing. The maximum reading distance of the
device is >5 m in the ambient, with a sensing precision of ±1.5 °C (3σ) from
−20 to 80 °C. The whole system is validated in-house using a 18650-36V-4.4A
Li-ion battery cell to track its temperature change when being charged at
different C-rates.
17
CHAPTER 3
EXISTING SYSTEM
3.1 INTRODUCTION
The existing system for electric vehicle battery monitoring using a
voltage sensor, current sensor Arduino if temperature high cooling system will
be on and message send using GSM is designed to monitor the battery
performance of an electric vehicle in real-time. The system uses a voltage
sensor and current sensor to measure the battery's voltage and current values
respectively. The data is then fed into an Arduino microcontroller, which is
programmed to analyze the data and calculate the battery's state of charge and
state of health. If the temperature of the battery exceeds a predetermined
threshold, a cooling system is activated to prevent damage to the battery.
18
3.3 DISADVANTAGE
While the system uses GSM for sending messages, the reliability of GSM
networks can vary depending on factors such as network coverage and
signal strength.
The system only focuses on voltage, current, and temperature monitoring
19
CHAPTER 4
PROPOSED SYSTEM
4.1 INTRODUCTION
The IOT based avoid fire accident in EV vehicle with multiple fault
detection and li-on battery management is proposed. This system consists of
voltage sensor to detect the voltage and update in IOT.The temperature sensor is
used to sense the battery temperature; if there is increase in temperature buzzer
alert is given and displayed in LCD.For safety purpose the system is interfaced
with fire sensor that detects the fire in the battery and gives alarm.The
overvoltage button indicates when the voltage exceeds certain level.The
measured parameters are updated in IOT and displayed in LCD display.
20
4.3 BLOCK EXPLANATION
Voltage Sensor: This sensor is responsible for measuring the voltage of the
battery. It detects the electrical potential difference between two points in the
battery system and sends this data to the IoT platform for monitoring and
analysis.
Fire Sensor: This sensor is crucial for safety. It detects the presence of fire or
extreme heat near the battery. If a fire is detected, the sensor activates an alarm
to alert nearby individuals and initiates appropriate safety protocols.
IoT Platform: The IoT platform serves as the central hub for data collection,
processing, and analysis. It receives data from various sensors such as voltage
and temperature sensors, processes this data, and provides insights into the
battery's health and performance. It also facilitates remote monitoring and
control of the battery system.
LCD Display: The LCD display provides a user interface for visualizing
important information such as battery voltage, temperature, and alarm
notifications. It allows users to quickly assess the status of the battery system
without accessing the IoT platform.
21
4.4 CIRCUIT DIAGRAM
4.5 ADVANTAGE
• Maintain the safety and the reliability of the battery
22
CHAPTER 5
SOFTWARE IMPLEMENTATION
5.1 ARDUINO IDE
The Arduino Integrated Development Environment (IDE) is a software
platform used for programming and developing applications for Arduino
microcontroller boards. It provides a user-friendly interface that simplifies the
process of writing, compiling, and uploading code to Arduino hardware. The
IDE is open-source, which means that its source code is freely available for
modification and improvement by the community. This collaborative nature has
contributed to its widespread popularity among hobbyists, students, educators,
and professional developers alike.
The Arduino IDE is its simplicity and ease of use. It employs a simplified
version of the C++ programming language, making it accessible to individuals
with various levels of programming experience. This makes it an excellent tool
for beginners who are just starting to learn about microcontrollers and
embedded systems. The IDE includes a set of pre-defined functions and
libraries that abstract the complexities of low-level hardware interaction,
allowing users to focus on writing code for their specific projects.
23
Fig: 5.2 Arduino IDE
The Arduino IDE also facilitates seamless integration with a wide range
of sensors, actuators, and other electronic components commonly used in
embedded systems. It includes a vast library repository that provides pre-written
code modules for interfacing with various devices. This extensive library
support drastically simplifies the process of working with sensors, displays,
motors, communication modules, and more, enabling users to quickly prototype
and develop their projects.
24
Fig: 5.3 Arduino IDE
5.2 PROTEUS
Proteus is a simulation and design software tool for electrical and
electronic circuit design created by Labcenter Electronics. It also has a 2D CAD
drawing capability. The tagline "From concept to completion" is appropriate. It
is a software package that includes schematic, simulation, and PCB design. The
ISIS program is used to create schematics and model circuits in real time. The
simulation enables for human interaction during run time, resulting in real-time
simulation. ARES is used to design PCBs. It provides the capability of seeing
output in 3D perspective of the created PCB as well as components. The
product's designer can also create 2D drawings.
25
The software running on a microcontroller and any analogue or digital
devices connected to it. The schematic displays the microcontroller model along
with the other elements of your product design. It simulates the way a real chip
would execute your object code (machine code).The logic levels in the circuit
vary in accordance with what your program code sends to a port, and your
program code will detect, exactly as in real life, if the circuit modifies the state
of the processor's pins. All I/O ports, interrupts, timers, USARTs, and other
peripherals present on each supported chip are entirely emulated by the VSM
CPU models. It is not just a simple software simulator since the complete
system is emulated and the interaction of all these peripherals with the external
circuit is meticulously detailed down to the waveform level. With more than
750 supported microprocessor types, hundreds of embedded SPICE models, and
one of the largest libraries of embedded simulation peripherals in the world,
Proteus VSM continues to be the ideal option for embedded simulation.
26
CHAPTER 6
HARDWARE IMPLEMENTATION
The PSU takes electrical energy from an input source, which can be the
standard alternating current (AC) from a wall outlet or direct current (DC) from
a battery. The input voltage varies depending on the region;
27
The PSU ensures that the output voltage (5V, 12V) is stable and within
the specified range. This is crucial to prevent damage to sensitive electronic
components. Voltage regulation is achieved using components like voltage
regulators.
The PSU provides various connectors and cables that deliver power to the
different components of the device, such as the motherboard, hard drives,
graphics cards, and other peripherals.
28
ports. Six of the 14 I/O ports are available for PWM output. In the actual world,
it enables the designers to sense and control external electronic components.
6.2.1 FEATURES
29
accept external power sources up to 12 V, which can be controlled to only
5 V or 3.3 V depending on the project's requirements.
Plug and Play: There is no need for a hard and fast interface to connect
the devices to the board. Simply plug the external device onto the board's
pins, which are arranged out in the shape of a header.
USB interface: The Arduino Uno includes a USB interface, which is a
USB port on the board that allows for serial communication with a
computer.
Alternative power sources: In addition to USB, a battery or an AC to
DC adapter can be used to power the board.
30
6.2.2 PIN CONFIGURATION
LED - Arduino Uno comes with built-in LED which is connected through pin
13. Providing HIGH value to the pin will turn it ON. Providing LOW will turn
it OFF.
VIN - It is the input voltage provided to the Arduino Board. This pin is used to
supply voltage. It is different than 5 V supplied through a USB port. If a voltage
is provided through power jack, it can be accessed through this pin.
5V - This board comes with the ability to provide voltage regulation. 5V pin is
used to provide output regulated voltage. The board is powered up using three
ways i.e. USB, Vin pin of the board or DC power jack. USB supports voltage
around 5V while Vin and Power Jack support a voltage ranges between 7V to
20V.
GND - These are ground pins. There are more than one ground pins are
provided on the board. They can be used as per requirement.
Reset -This pin is incorporated on the board which resets the program running
on the board. Instead of physical reset on the board, IDE comes with a feature
of resetting the board through programming.
IOREF -It is the abbreviation of Input Output Voltage Reference. This pin is
very useful for providing voltage reference to the board. A shield is used to read
the voltage across this pin which then select the proper power source.
31
AREF - It is called Analog Reference. This pin is used for providing a
reference voltage to the analog inputs.
External Interrupts - Pin 2 and 3 are used for providing external interrupts. An
interrupt is called by providing LOW or changing value.
Vcc (Power Supply): This pin is responsible for providing the required power
to the voltage sensor. It is usually connected to the positive terminal of the
power source. The voltage level supplied to this pin depends on the
specifications of the sensor, and it is essential to ensure that the voltage falls
within the specified operating range to avoid damaging the sensor.
GND (Ground): The ground pin serves as the reference point for the electrical
circuit. It is connected to the negative terminal of the power source. The ground
pin completes the electrical path, allowing current to flow through the sensor.
32
Output: The output pin provides a signal that represents the measured voltage
level. This can be in the form of an analog voltage, a digital signal, or a
communication protocol. The voltage level or signal provided at this pin is
proportional to the voltage being measured by the sensor.
FEATURES
They are capable of measuring a wide range of voltage values, from low
millivolt levels to high kilovolt levels, depending on the specific sensor's
capabilities.
They are designed to consume minimal power, making them suitable for
battery-powered or energy-efficient applications.
33
6.4 TEMPERATURE SENSOR
DH11
34
Employed in automotive applications where monitoring cabin conditions
is necessary.
Integrated into devices like thermostats, dehumidifiers, and air purifiers.
Sensitive alarms can be used to detect, and thus deter, smoking in areas
where it is banned. Fire detectors in large commercial, industrial, and residential
buildings are usually powered by a central fire alarm system, which is powered
by the building power with a battery backup. Domestic fire detectors range from
individual battery-powered units, to several interlinked mains-powered units
with battery backup; with these interlinked units, if any unit detects smoke, all
trigger even if household power has gone out.
35
Fig: 6.7 Fire sensor
This is a very easy to use low cost semiconductor Gas sensor Module
with analog and digital output. This module uses MQ2 Fire & Flammable gas
sensor as a gas sensing element. It requires no external components just plug in
Vcc& ground pins and you are ready to go.
For Digital output the threshold value can be easily set by an on-board
potentiometer. Using this module you can easily interface MQ2 Fire &
Combustible gas Sensor to any Microcontroller, Arduino or even Raspberry Pi.
Since this Gas Sensor module is sensitive to fire it can be used in for fire
detection. MQ2 Gas Sensor is also sensitive to flammable/combustible gasses
like LPG, Propane & Hydrogen.
6.5.1 Specifications:-
This indicates the size of the LCD display in terms of character cells. A
16x2 LCD has 16 columns and 2 rows of characters, meaning it can display 16
characters in a row and 2 rows of characters. Each character cell can typically
display a single alphanumeric character or symbol.
37
D0 to D7 (Data Pins): These pins (D0 to D7) are used for transferring
data to/from the LCD in 8-bit mode. In many cases, D0 to D3 may not be
connected or left unconnected when using the LCD in 4-bit mode.
6.7 NODEMCU
NodeMCU is an open source Lua based firmware for the ESP8266 Wi-Fi
SOC from Espressif and uses an on-module flash-based SPIFFS file system.
NodeMCU is implemented in C and is layered on the Espressif NON-OS SDK.
38
6.7.1 Features:
Open-source
Interactive
Programmable
Low cost
Simple
Smart
WI-FI enabled
6.7.2 Specification:
PCB antenna
39
Fig: 6.9 NodeMCU
6.8 BUZZER
A buzzer is an electrical device designed to produce audible sound
signals. It is a compact and straightforward component that, when activated,
emits a continuous or intermittent buzzing or beeping sound. Buzzer
mechanisms typically consist of an electromagnet that, when energized, causes
a diaphragm or a vibrating element to create sound waves. Buzzer devices are
commonly used for various purposes, such as alarms, notifications, and
indicators in electronic devices, household appliances, automobiles, and
industrial machinery. They serve as effective means of drawing attention to
specific events, warnings, or status changes. The simplicity and reliability of
buzzers make them indispensable in situations where auditory alerts or signals
are needed, providing a cost-effective solution for communication through
sound.
40
Fig: 6.10 Buzzer
6.9 DC MOTOR
41
Conductors to generate rotational motion. At their core, DC motors
consist of two main parts: the stator and the rotor. The stator is the stationary
part of the motor and contains coils of wire, typically wrapped around a core,
creating a magnetic field when electricity flows through them. The rotor,
usually attached to an output shaft, comprises a set of conductors or coils that
interact with the stator's magnetic field. When electric current flows through the
coils in the stator, it generates a magnetic field. This field interacts with the
magnetic field produced by the rotor, causing the rotor to experience a force and
start rotating. The direction of the current flow through the coils determines the
direction of the magnetic field and subsequently the rotation direction of the
motor. DC motors are classified into two main types: brushed and brushless.
Brushed DC motors employ brushes and a commutator to switch the direction
of current flow in the rotor, allowing it to continuously rotate. However, these
brushes can wear out over time, requiring maintenance. On the other hand,
brushless DC motors use electronic controllers to switch the currents in the
stator windings, eliminating the need for physical brushes and resulting in more
efficient and durable operation. These motors find widespread use in various
applications due to their simplicity, controllability, and ability to deliver high
torque at low speeds. From powering electric vehicles and industrial machinery
to being integral parts of household appliances and robotics, DC motors play a
pivotal role in countless devices and systems across industries. Their versatility
allows for precise control of speed and direction using methods like pulse-width
modulation (PWM) or by varying the voltage supplied to the motor.
Additionally, advancements in motor design and control technologies continue
5to improve their efficiency, reliability, and performance, making DC motors
indispensable components in modern engineering and technology.
42
CHAPTER 7
SOURCE CODE
7.1 ARDUINO IDE
#include <LiquidCrystal.h>
#include <Adafruit_Sensor.h>
#include "DHT.h"
int t;
//////////////////////////////voltage1////////////////
float correctionfactor1 = 0;
43
float R1_1 = 30000; //
///////////////////////////////////////////////////////
/////////////////////////////////////////////////
constintsensorIn = A2;
intmVperAmp = 185; // use 100 for 20A Module and 66 for 30A Module
double Voltage = 0;
double VRMS = 0;
doubleAmpsRMS = 0;
/////////////////////////////////////////////////
intx,y,z;
int R;
int vin1_1;
44
ints,f;
int F;
void setup()
dht.begin();
/*******************************/
Serial.begin(9600);
lcd.begin (16,2);
/*******************************/
lcd.setCursor(0,0);
lcd.print("LITHUM-ION ");
lcd.setCursor(0,1);
delay(3000);
lcd.clear();
/**********************************************/
pinMode(A0,INPUT); //volt 1
pinMode(A2,INPUT);//current sensor
45
pinMode(2,INPUT);// temp
pinMode(7,INPUT);// fire
pinMode(3,OUTPUT);//ev
pinMode(4,OUTPUT);//motor
pinMode(5,OUTPUT);//buzzer
/***************************************************************
**/
void loop()
Voltage = getVPP();
lcd.setCursor(0,1);
46
lcd.print("C:");
lcd.print(AmpsRMS);
dht11();
voltage1();
digitalWrite(5,HIGH);
delay(1000);
digitalWrite(5,LOW);
47
{
digitalWrite(5,LOW);
F=digitalRead(7);
lcd.setCursor(7,1);
lcd.print("F_H");
f=1;
digitalWrite(3,LOW);
else
lcd.setCursor(7,1);
48
lcd.print("F_L");
f=0;
digitalWrite(3,HIGH);
Serial.println("T");
Serial.println(t);
delay(200);
Serial.println("S");
Serial.println(s);
delay(200);
Serial.println("a");
Serial.println(vin1);
delay(200);
Serial.println("b");
Serial.println(vin1_1);
delay(200);
49
Serial.println("c");
Serial.println(AmpsRMS);
delay(200);
Serial.println("d");
Serial.println(f);
delay(200);
void voltage1()
value1 = analogRead(analogInput1);
lcd.setCursor(0,0);
lcd.print("V:");
50
lcd.setCursor(2,0);
lcd.print(vin1);
vin1_1=((vin1/12)*100);
lcd.setCursor(8,0);
lcd.print("BP:");
lcd.print(vin1_1);
lcd.print("% ");
void dht11()
int h = dht.readHumidity();
51
t = dht.readTemperature();
float f = dht.readTemperature(true);
return;
lcd.setCursor(11,1);
lcd.print("T:");
lcd.setCursor(13,1);
lcd.print(t);
lcd.setCursor(15,1);
lcd.print("H");
digitalWrite (4,HIGH);
52
}
else
lcd.setCursor(15,1);
lcd.print("L");
digitalWrite (4,LOW);
floatgetVPP()
float result;
53
readValue = analogRead(sensorIn);
if (readValue>maxValue)
maxValue = readValue;
if (readValue<minValue)
minValue = readValue;
return result;
// Mail: [email protected]
// projectiot2024
54
// Fill-in information from your Blynk Template here
#define BLYNK_AUTH_TOKEN
"xfMNTi3gsUc0bu5FVOyTCcQnOl_SUzbg"
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
charssid[] = "projectiot2024";
int a;
55
#define VPIN_4 V3 //Battery percentage
int t,s,vin1_1,AmpsRMS,f;
float vin1,c;
BLYNK_CONNECTED()
Blynk.syncVirtual(VPIN_1);
Blynk.syncVirtual(VPIN_2);
Blynk.syncVirtual(VPIN_3);
Blynk.syncVirtual(VPIN_4);
Blynk.syncVirtual(VPIN_5);
void setup()
Serial.begin(9600);
56
delay(100);
Serial.begin(9600);
void loop()
Blynk.run();
if (Serial.available()>0)
a=Serial.read();
// Serial.print(a);
57
else if(a=='b'){ vin1_1=Serial.parseInt(); Blynk.virtualWrite(VPIN_4,vin1_1);
}
58
CHAPTER 8
CONCLUSION AND FUTURE ENHANCEMENT
8.1 CONCLUSION
In conclusion, the proposed IOT based avoid fire accident in ev vehicle
with multiple fault detection and li-on battery management represents a
significant advancement in ensuring the safety and efficiency of battery
operations. By integrating sensors for voltage, temperature, and fire detection,
along with manual input controls like the overvoltage button, the system
provides comprehensive monitoring capabilities. Real-time data collection and
analysis facilitated by the IoT platform enable proactive management of battery
health, allowing for timely interventions in case of abnormalities such as
overheating or voltage fluctuations. The incorporation of visual and audible
alerts through the LCD display and buzzer enhances user awareness and
facilitates quick response to critical situations, ultimately contributing to the
reliability and longevity of electric vehicle batteries while prioritizing safety.
Furthermore, the system's ability to update measured parameters to the IoT
platform ensures accessibility to crucial information remotely, enabling
stakeholders to make informed decisions regarding battery maintenance and
operation. As electric vehicles continue to gain traction as a sustainable
transportation solution, the importance of robust battery management systems
cannot be overstated. The proposed system not only addresses immediate safety
concerns but also lays the groundwork for future advancements in battery
technology and management, ultimately contributing to the widespread
adoption and viability of electric vehicles in the global automotive landscape.
59
8.2 FUTURE ENHANCEMENT
Explore the use of blockchain technology for secure and transparent data
logging and authentication, enhancing data integrity and trustworthiness
in the system.
Investigate the incorporation of energy harvesting technologies, such as
regenerative braking or solar panels, to supplement the vehicle's power
supply and extend battery range.
Integrate the battery management system with other vehicle systems, such
as the propulsion system and onboard diagnostics, for comprehensive
vehicle health monitoring and diagnostics.
60
CHAPTER 9
REFERENCE
[1] Zhai C., Luo F., Liu Y. A novel predictive energy management strategy for
electric vehicles based on velocity prediction IEEE Trans. Veh. Technol., 69
(2020), pp. 12559-12569.
[2] Zhang X., Li Z., Luo L., Fan Y., Du Z. A review on thermal management
of lithium-ion batteries for electric vehicles Energy, 238 (2022), Article
121652.
[4] R. Kumar and S. K. Sharma, "IoT based real-time monitoring system for
electric vehicle battery management using Arduino," 2020 2nd International
Conference on Inventive Research in Computing Applications (ICIRCA),
2020, pp. 1035-1041.
[5] T. Liu, H. Yu, H. Guo, Y. Qin, and Y. Zou, “Online energy management
for multimode plug-in hybrid electric vehicles,” IEEE Trans. Ind. Informat.,
vol. 15, no. 7, pp. 4352–4361, Jul. 2019.
61
[7] MohdHelmyAbd Wahab,1,5, NurImaninaMohamad Anuar1 , Radzi
Ambar1 , Aslina Baharum2 , Shanoor Shanta1 , MohdSuffian Sulaiman3 ,
ShukorSanimMohd Fauzi3 , HafizulFahri Hanafi4, “IoT-Based Battery
Monitoring System for Electric Vehicle”, nternational Journal of Engineering
& Technology, 7 (4.31) (2018) 505-510.
[9] S. Kim, Y. Lee, and B. Park, "Real-time battery management system for
electric vehicle based on wireless communication," 2018 IEEE Wireless
Power Transfer Conference (WPTC), 2018, pp. 1- 4.
62
CHAPTER 10
HARDWARE PHOTO COPY
63